diff options
author | George Karpenkov <ekarpenkov@apple.com> | 2018-09-15 02:34:45 +0000 |
---|---|---|
committer | George Karpenkov <ekarpenkov@apple.com> | 2018-09-15 02:34:45 +0000 |
commit | 64c431c90095995a6bad74c34ce03367f09e5fa4 (patch) | |
tree | f69612615f8eb606945cd1881917013c80158d82 /clang/lib/StaticAnalyzer/Core/Environment.cpp | |
parent | e3c99427f0d072cc5c91930573abfcda6a9e3129 (diff) | |
download | bcm5719-llvm-64c431c90095995a6bad74c34ce03367f09e5fa4.tar.gz bcm5719-llvm-64c431c90095995a6bad74c34ce03367f09e5fa4.zip |
[analyzer] Further printing improvements: use declarations,
skip pointers whenever redundant, use unique prefixes.
Differential Revision: https://reviews.llvm.org/D52114
llvm-svn: 342316
Diffstat (limited to 'clang/lib/StaticAnalyzer/Core/Environment.cpp')
-rw-r--r-- | clang/lib/StaticAnalyzer/Core/Environment.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/StaticAnalyzer/Core/Environment.cpp b/clang/lib/StaticAnalyzer/Core/Environment.cpp index 4238ceb4ee6..c390fe7dc11 100644 --- a/clang/lib/StaticAnalyzer/Core/Environment.cpp +++ b/clang/lib/StaticAnalyzer/Core/Environment.cpp @@ -235,8 +235,7 @@ void Environment::print(raw_ostream &Out, const char *NL, const Stmt *S = I.first.getStmt(); assert(S != nullptr && "Expected non-null Stmt"); - Out << "(LC " << LC->getID() << " <" << (const void *)LC << ">, S " - << S->getID(Context) << " <" << (const void *)S << ">) "; + Out << "(LC" << LC->getID() << ", S" << S->getID(Context) << ") "; S->printPretty(Out, /*Helper=*/nullptr, PP); Out << " : " << I.second << NL; } |