| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | StmtViz.cpp | 45 std::string OutStr = Out.str(); in getNodeLabel() local 46 if (OutStr[0] == '\n') OutStr.erase(OutStr.begin()); in getNodeLabel() 49 for (unsigned i = 0; i != OutStr.length(); ++i) in getNodeLabel() 50 if (OutStr[i] == '\n') { // Left justify in getNodeLabel() 51 OutStr[i] = '\\'; in getNodeLabel() 52 OutStr.insert(OutStr.begin()+i+1, 'l'); in getNodeLabel() 55 return OutStr; in getNodeLabel()
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | CFGPrinter.h | 146 OutStr.erase(OutStr.begin() + I, OutStr.begin() + Idx); 167 std::string OutStr = OS.str(); 168 if (OutStr[0] == '\n') 169 OutStr.erase(OutStr.begin()); 175 if (OutStr[i] == '\n') { // Left justify 176 OutStr[i] = '\\'; 177 OutStr.insert(OutStr.begin() + i + 1, 'l'); 182 HandleComment(OutStr, i, Idx); 187 OutStr.insert(LastSpace, "\\l..."); 193 if (OutStr[i] == ' ') [all …]
|
| /llvm-project-15.0.7/clang/lib/Basic/ |
| H A D | Diagnostic.cpp | 641 OutStr.push_back('s'); in HandleIntegerSModifier() 652 llvm::raw_svector_ostream Out(OutStr); in HandleOrdinalModifier() 810 OutStr.reserve(OutStr.size() + Str.size()); in pushEscapedString() 861 pushEscapedString(S, OutStr); in FormatDiagnostic() 884 OutStr.append(DiagStr, StrEnd); in FormatDiagnostic() 968 pushEscapedString(S, OutStr); in FormatDiagnostic() 978 pushEscapedString(S, OutStr); in FormatDiagnostic() 987 OutStr); in FormatDiagnostic() 992 OutStr); in FormatDiagnostic() 1010 OutStr); in FormatDiagnostic() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.io/ |
| H A D | directory_entry.io.pass.cpp | 28 MultiStringType OutStr = MKSTR("\"abcdefg/\\\"hijklmnop\\\"/qrstuvwxyz/123456789\""); variable 33 const CharT* expected_output = static_cast<const CharT*>(OutStr); in TestOutput()
|
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | TextDiagnosticPrinter.cpp | 116 SmallString<100> OutStr; in HandleDiagnostic() local 117 Info.FormatDiagnostic(OutStr); in HandleDiagnostic() 119 llvm::raw_svector_ostream DiagMessageStream(OutStr); in HandleDiagnostic()
|
| /llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/class.path/path.nonmember/ |
| H A D | path.io.unicode_bug.pass.cpp | 40 MultiStringType OutStr = MKSTR("\"abcdefg/\\\"hijklmnop\\\"/qrstuvwxyz/123456789\""); variable 48 const Ptr E = OutStr; in doIOTest()
|
| H A D | path.io.pass.cpp | 37 MultiStringType OutStr = MKSTR("\"abcdefg/\\\"hijklmnop\\\"/qrstuvwxyz/123456789\""); variable 44 const Ptr E = OutStr; in doIOTest()
|
| /llvm-project-15.0.7/llvm/utils/TableGen/ |
| H A D | CodeGenMapTable.cpp | 377 std::string OutStr; in emitBinSearchTable() local 383 OutStr += ", "; in emitBinSearchTable() 384 OutStr += Namespace; in emitBinSearchTable() 385 OutStr += "::"; in emitBinSearchTable() 386 OutStr += ColInstrs[j]->getName(); in emitBinSearchTable() 387 } else { OutStr += ", (uint16_t)-1U";} in emitBinSearchTable() 392 OS << OutStr <<" },\n"; in emitBinSearchTable()
|
| /llvm-project-15.0.7/clang/unittests/Tooling/ |
| H A D | RewriterTestContext.h | 37 SmallString<100> OutStr; in HandleDiagnostic() local 38 Info.FormatDiagnostic(OutStr); in HandleDiagnostic() 39 llvm::errs() << OutStr; in HandleDiagnostic()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | TFUtils.cpp | 75 void serialize(const Message &SE, std::string *OutStr) { in serialize() argument 77 TextFormat::PrintToString(SE, OutStr); in serialize() 79 *OutStr = SE.SerializeAsString(); in serialize() 519 std::string OutStr; in flushLogs() local 520 serialize(Msg, &OutStr); in flushLogs() 521 OS << OutStr; in flushLogs()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | MachineFunction.cpp | 629 std::string OutStr; in getNodeLabel() local 631 raw_string_ostream OSS(OutStr); in getNodeLabel() 641 if (OutStr[0] == '\n') OutStr.erase(OutStr.begin()); in getNodeLabel() 644 for (unsigned i = 0; i != OutStr.length(); ++i) in getNodeLabel() 645 if (OutStr[i] == '\n') { // Left justify in getNodeLabel() 646 OutStr[i] = '\\'; in getNodeLabel() 647 OutStr.insert(OutStr.begin()+i+1, 'l'); in getNodeLabel() 649 return OutStr; in getNodeLabel()
|
| /llvm-project-15.0.7/llvm/tools/llvm-ifs/ |
| H A D | llvm-ifs.cpp | 258 raw_string_ostream OutStr(IFSStr); in writeIFS() local 259 Error YAMLErr = writeIFSToOutputStream(OutStr, Stub); in writeIFS() 262 OutStr.flush(); in writeIFS()
|
| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | CFG.cpp | 6269 std::string& OutStr = Out.str(); in getNodeLabel() local 6271 if (OutStr[0] == '\n') OutStr.erase(OutStr.begin()); in getNodeLabel() 6274 for (unsigned i = 0; i != OutStr.length(); ++i) in getNodeLabel() 6275 if (OutStr[i] == '\n') { // Left justify in getNodeLabel() 6276 OutStr[i] = '\\'; in getNodeLabel() 6277 OutStr.insert(OutStr.begin()+i+1, 'l'); in getNodeLabel() 6280 return OutStr; in getNodeLabel()
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | Diagnostic.h | 1673 void FormatDiagnostic(SmallVectorImpl<char> &OutStr) const; 1678 SmallVectorImpl<char> &OutStr) const;
|