Searched refs:OutStr (Results 1 – 2 of 2) sorted by relevance
86 std::string OutStr = OS.str();87 if (OutStr[0] == '\n') OutStr.erase(OutStr.begin());92 for (unsigned i = 0; i != OutStr.length(); ++i) {93 if (OutStr[i] == '\n') { // Left justify94 OutStr[i] = '\\';95 OutStr.insert(OutStr.begin()+i+1, 'l');98 } else if (OutStr[i] == ';') { // Delete comments!99 unsigned Idx = OutStr.find('\n', i+1); // Find end of line100 OutStr.erase(OutStr.begin()+i, OutStr.begin()+Idx);106 OutStr.insert(LastSpace, "\\l...");[all …]
563 std::string OutStr; in getNodeLabel() local565 raw_string_ostream OSS(OutStr); in getNodeLabel()575 if (OutStr[0] == '\n') OutStr.erase(OutStr.begin()); in getNodeLabel()578 for (unsigned i = 0; i != OutStr.length(); ++i) in getNodeLabel()579 if (OutStr[i] == '\n') { // Left justify in getNodeLabel()580 OutStr[i] = '\\'; in getNodeLabel()581 OutStr.insert(OutStr.begin()+i+1, 'l'); in getNodeLabel()583 return OutStr; in getNodeLabel()