summaryrefslogtreecommitdiffstats
path: root/clang/utils/analyzer/exploded-graph-rewriter.py
diff options
context:
space:
mode:
Diffstat (limited to 'clang/utils/analyzer/exploded-graph-rewriter.py')
-rwxr-xr-xclang/utils/analyzer/exploded-graph-rewriter.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/utils/analyzer/exploded-graph-rewriter.py b/clang/utils/analyzer/exploded-graph-rewriter.py
index f0f0316da91..c4b015e5ded 100755
--- a/clang/utils/analyzer/exploded-graph-rewriter.py
+++ b/clang/utils/analyzer/exploded-graph-rewriter.py
@@ -387,6 +387,12 @@ class DotDumpVisitor(object):
'<font color="%s">%s</font></td></tr>'
% (color, p.kind))
+ if p.tag is not None:
+ self._dump('<tr><td width="0"></td>'
+ '<td colspan="2" align="left">'
+ '<b>Tag: </b> <font color="crimson">'
+ '%s</font></td></tr>' % p.tag)
+
def visit_environment(self, e, prev_e=None):
self._dump('<table border="0">')
OpenPOWER on IntegriCloud