Definition at line 12 of file GraphWriter.cpp.
13{
15 for (
unsigned i = 0;
i !=
Str.length(); ++
i)
17 {
18 case '\n':
19 Str.insert(
Str.begin()+
i,
'\\');
22 break;
23 case '\t':
27 break;
28 case '\\':
29 if (
i+1 !=
Str.length())
31 {
32 case 'l':
33 continue;
34 case '|':
35 case '{':
36 case '}':
38 continue;
39 default:
40 break;
41 }
42 case '{':
43 case '}':
44 case '<':
45 case '>':
46 case '|':
47 case '"':
48 Str.insert(
Str.begin()+
i,
'\\');
50 break;
51 }
52 return Str;
53}
llvm::IRBuilder IRBuilder