From: Artem Dergachev Date: Wed, 26 Jun 2019 00:14:49 +0000 (+0000) Subject: [analyzer] exploded-graph-rewriter: Prettier location context dumps. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ad73bf289a90587b06d83ffc61ddd629ed8a90a8;p=clang [analyzer] exploded-graph-rewriter: Prettier location context dumps. Make them span wider. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@364365 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Analysis/exploded-graph-rewriter/environment.dot b/test/Analysis/exploded-graph-rewriter/environment.dot index 052f35b28f..f624975db6 100644 --- a/test/Analysis/exploded-graph-rewriter/environment.dot +++ b/test/Analysis/exploded-graph-rewriter/environment.dot @@ -9,7 +9,7 @@ // CHECK-SAME: // CHECK-SAME: #0 Call // CHECK-SAME: -// CHECK-SAME: +// CHECK-SAME: // CHECK-SAME: foo (line 4) // CHECK-SAME: // CHECK-SAME: diff --git a/utils/analyzer/exploded-graph-rewriter.py b/utils/analyzer/exploded-graph-rewriter.py index 7714e59656..f0f0316da9 100755 --- a/utils/analyzer/exploded-graph-rewriter.py +++ b/utils/analyzer/exploded-graph-rewriter.py @@ -393,7 +393,8 @@ class DotDumpVisitor(object): def dump_location_context(lc, is_added=None): self._dump('%s' '%s' - '%s ' + '' + '%s ' '%s' % (self._diff_plus_minus(is_added), lc.caption, lc.decl,