summaryrefslogtreecommitdiffstats
path: root/clang/utils
diff options
context:
space:
mode:
Diffstat (limited to 'clang/utils')
-rwxr-xr-xclang/utils/analyzer/exploded-graph-rewriter.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/utils/analyzer/exploded-graph-rewriter.py b/clang/utils/analyzer/exploded-graph-rewriter.py
index 4aae72c0da6..668b12110b4 100755
--- a/clang/utils/analyzer/exploded-graph-rewriter.py
+++ b/clang/utils/analyzer/exploded-graph-rewriter.py
@@ -300,6 +300,7 @@ class ExplodedGraph(object):
.replace('\\{', '{') \
.replace('\\}', '}') \
.replace('\\\\', '\\') \
+ .replace('\\|', '|') \
.replace('\\<', '\\\\<') \
.replace('\\>', '\\\\>') \
.rstrip(',')
@@ -329,7 +330,7 @@ class DotDumpVisitor(object):
.replace('\\<', '&lt;')
.replace('\\>', '&gt;')
.replace('\\l', '<br />')
- .replace('|', ''), end='')
+ .replace('|', '\\|'), end='')
@staticmethod
def _diff_plus_minus(is_added):
OpenPOWER on IntegriCloud