From: Ted Kremenek Date: Thu, 30 Aug 2007 17:01:41 +0000 (+0000) Subject: Added Graphviz escaping for the '|' character. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1a0190f4f0deafddc107c45784ebc543666e909a;p=oota-llvm.git Added Graphviz escaping for the '|' character. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41610 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Support/GraphWriter.h b/include/llvm/Support/GraphWriter.h index b9566b84f8b..08bc8613327 100644 --- a/include/llvm/Support/GraphWriter.h +++ b/include/llvm/Support/GraphWriter.h @@ -52,7 +52,7 @@ namespace DOT { // Private functions... 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;