diff options
| author | Stephen Kelly <steveire@gmail.com> | 2018-08-15 20:32:06 +0000 |
|---|---|---|
| committer | Stephen Kelly <steveire@gmail.com> | 2018-08-15 20:32:06 +0000 |
| commit | 3124ce724a2d76f8817ba025e9542126de309924 (patch) | |
| tree | d5039bbd76f07f5ccfb88c33917a6b5186370e0b /clang/lib/Analysis | |
| parent | 942cb7b3f8ea12a26f28be3d647b8c789a10a002 (diff) | |
| download | bcm5719-llvm-3124ce724a2d76f8817ba025e9542126de309924.tar.gz bcm5719-llvm-3124ce724a2d76f8817ba025e9542126de309924.zip | |
Add a newline to SourceLocation dump output
Summary:
Migrate callers to print().
dump() should be useful to downstreams and third parties as a debugging
aid. Everyone trips up on this and creates confusing output.
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D50661
llvm-svn: 339810
Diffstat (limited to 'clang/lib/Analysis')
| -rw-r--r-- | clang/lib/Analysis/LiveVariables.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Analysis/LiveVariables.cpp b/clang/lib/Analysis/LiveVariables.cpp index 4e063f4ca74..ca82515ffa5 100644 --- a/clang/lib/Analysis/LiveVariables.cpp +++ b/clang/lib/Analysis/LiveVariables.cpp @@ -626,7 +626,7 @@ void LiveVariablesImpl::dumpBlockLiveness(const SourceManager &M) { de = declVec.end(); di != de; ++di) { llvm::errs() << " " << (*di)->getDeclName().getAsString() << " <"; - (*di)->getLocation().dump(M); + (*di)->getLocation().print(llvm::errs(), M); llvm::errs() << ">\n"; } } |

