various updates to match r54873 on mainline.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54874 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Analysis/BugReporter.cpp b/lib/Analysis/BugReporter.cpp
index 5002ed6..a51f9fb 100644
--- a/lib/Analysis/BugReporter.cpp
+++ b/lib/Analysis/BugReporter.cpp
@@ -537,7 +537,7 @@
continue;
}
- os << V.toString();
+ os << V;
}
os << ":' at line "
diff --git a/lib/Analysis/GRState.cpp b/lib/Analysis/GRState.cpp
index f872547..cd81c57 100644
--- a/lib/Analysis/GRState.cpp
+++ b/lib/Analysis/GRState.cpp
@@ -299,7 +299,7 @@
for (ConstEqTy::iterator I = CE.begin(), E = CE.end(); I!=E; ++I)
Out << nl << " $" << I.getKey()
- << " : " << I.getData()->toString();
+ << " : " << *I.getData();
}
// Print != constraints.
@@ -320,7 +320,7 @@
if (isFirst) isFirst = false;
else Out << ", ";
- Out << (*J)->toString();
+ Out << *J;
}
}
}
diff --git a/lib/Analysis/RValues.cpp b/lib/Analysis/RValues.cpp
index a396622..b372ab3 100644
--- a/lib/Analysis/RValues.cpp
+++ b/lib/Analysis/RValues.cpp
@@ -352,7 +352,7 @@
switch (getSubKind()) {
case nonlval::ConcreteIntKind:
- Out << cast<nonlval::ConcreteInt>(this)->getValue().toString();
+ Out << cast<nonlval::ConcreteInt>(this)->getValue();
if (cast<nonlval::ConcreteInt>(this)->getValue().isUnsigned())
Out << 'U';
@@ -369,7 +369,7 @@
Out << '$' << C.getConstraint().getSymbol() << ' ';
printOpcode(Out, C.getConstraint().getOpcode());
- Out << ' ' << C.getConstraint().getInt().toString();
+ Out << ' ' << C.getConstraint().getInt();
if (C.getConstraint().getInt().isUnsigned())
Out << 'U';
@@ -395,8 +395,7 @@
switch (getSubKind()) {
case lval::ConcreteIntKind:
- Out << cast<lval::ConcreteInt>(this)->getValue().toString()
- << " (LVal)";
+ Out << cast<lval::ConcreteInt>(this)->getValue() << " (LVal)";
break;
case lval::SymbolValKind: