[llvm-commits] [llvm] r41610 - /llvm/trunk/include/llvm/Support/GraphWriter.h

Ted Kremenek kremenek at apple.com
Thu Aug 30 10:01:41 PDT 2007


Author: kremenek
Date: Thu Aug 30 12:01:41 2007
New Revision: 41610

URL: http://llvm.org/viewvc/llvm-project?rev=41610&view=rev
Log:
Added Graphviz escaping for the '|' character.

Modified:
    llvm/trunk/include/llvm/Support/GraphWriter.h

Modified: llvm/trunk/include/llvm/Support/GraphWriter.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/GraphWriter.h?rev=41610&r1=41609&r2=41610&view=diff

==============================================================================
--- llvm/trunk/include/llvm/Support/GraphWriter.h (original)
+++ llvm/trunk/include/llvm/Support/GraphWriter.h Thu Aug 30 12:01:41 2007
@@ -52,7 +52,7 @@
           break;  // don't disturb \l
       case '{': case '}':
       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