[llvm-commits] CVS: llvm/include/Support/GraphWriter.h
Chris Lattner
lattner at cs.uiuc.edu
Fri Oct 31 16:17:00 PST 2003
Changes in directory llvm/include/Support:
GraphWriter.h updated: 1.15 -> 1.16
---
Log message:
Escape "'s, which are frequent visitors to C++ types
---
Diffs of the changes: (+1 -0)
Index: llvm/include/Support/GraphWriter.h
diff -u llvm/include/Support/GraphWriter.h:1.15 llvm/include/Support/GraphWriter.h:1.16
--- llvm/include/Support/GraphWriter.h:1.15 Mon Oct 20 14:46:57 2003
+++ llvm/include/Support/GraphWriter.h Fri Oct 31 16:16:41 2003
@@ -48,6 +48,7 @@
break; // don't disturb \l
case '{': case '}':
case '<': case '>':
+ case '"':
Str.insert(Str.begin()+i, '\\'); // Escape character...
++i; // don't infinite loop
break;
More information about the llvm-commits
mailing list