summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/Core/Environment.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/StaticAnalyzer/Core/Environment.cpp')
-rw-r--r--clang/lib/StaticAnalyzer/Core/Environment.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/StaticAnalyzer/Core/Environment.cpp b/clang/lib/StaticAnalyzer/Core/Environment.cpp
index 5f1a37c8d6c..4238ceb4ee6 100644
--- a/clang/lib/StaticAnalyzer/Core/Environment.cpp
+++ b/clang/lib/StaticAnalyzer/Core/Environment.cpp
@@ -235,8 +235,8 @@ void Environment::print(raw_ostream &Out, const char *NL,
const Stmt *S = I.first.getStmt();
assert(S != nullptr && "Expected non-null Stmt");
- Out << "(LC" << (const void *)LC << ", S" << S->getID(Context) << " <"
- << (const void *)S << "> ) ";
+ Out << "(LC " << LC->getID() << " <" << (const void *)LC << ">, S "
+ << S->getID(Context) << " <" << (const void *)S << ">) ";
S->printPretty(Out, /*Helper=*/nullptr, PP);
Out << " : " << I.second << NL;
}
OpenPOWER on IntegriCloud