reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

examples/Kaleidoscope/BuildingAJIT/Chapter3/KaleidoscopeJIT.h
  124     return CODLayer.findSymbol(MangledNameStream.str(), true);
examples/Kaleidoscope/BuildingAJIT/Chapter4/KaleidoscopeJIT.h
  205     return MangledNameStream.str();
examples/Kaleidoscope/BuildingAJIT/Chapter5/KaleidoscopeJIT.h
  222     return MangledNameStream.str();
gen/lib/Target/AArch64/AArch64GenMCCodeEmitter.inc
15591     report_fatal_error(Msg.str());
gen/lib/Target/AMDGPU/AMDGPUGenMCCodeEmitter.inc
34502     report_fatal_error(Msg.str());
gen/lib/Target/AMDGPU/R600GenMCCodeEmitter.inc
 1758     report_fatal_error(Msg.str());
gen/lib/Target/ARM/ARMGenMCCodeEmitter.inc
16195     report_fatal_error(Msg.str());
gen/lib/Target/AVR/AVRGenMCCodeEmitter.inc
  761     report_fatal_error(Msg.str());
gen/lib/Target/BPF/BPFGenMCCodeEmitter.inc
  622     report_fatal_error(Msg.str());
gen/lib/Target/Hexagon/HexagonGenMCCodeEmitter.inc
11538     report_fatal_error(Msg.str());
gen/lib/Target/Lanai/LanaiGenMCCodeEmitter.inc
  714     report_fatal_error(Msg.str());
gen/lib/Target/MSP430/MSP430GenMCCodeEmitter.inc
 1090     report_fatal_error(Msg.str());
gen/lib/Target/Mips/MipsGenMCCodeEmitter.inc
 8862     report_fatal_error(Msg.str());
gen/lib/Target/PowerPC/PPCGenMCCodeEmitter.inc
 6242     report_fatal_error(Msg.str());
gen/lib/Target/RISCV/RISCVGenMCCodeEmitter.inc
 1380     report_fatal_error(Msg.str());
gen/lib/Target/Sparc/SparcGenMCCodeEmitter.inc
 1676     report_fatal_error(Msg.str());
gen/lib/Target/SystemZ/SystemZGenMCCodeEmitter.inc
 8728     report_fatal_error(Msg.str());
gen/lib/Target/WebAssembly/WebAssemblyGenMCCodeEmitter.inc
 2476     report_fatal_error(Msg.str());
gen/tools/clang/include/clang/AST/Attrs.inc
 6218     return OS.str();
include/llvm/Analysis/CFGPrinter.h
   71     return OS.str();
   86     std::string OutStr = OS.str();
  144       return OS.str();
include/llvm/Object/MachO.h
  621       return ss.str();
  634       return ss.str();
include/llvm/Support/Error.h
   60     return OS.str();
  711     Msg = OS.str().c_str();
  742     Msg = OS.str().c_str();
  773     Msg = OS.str().c_str();
 1202   return make_error<StringError>(Stream.str(), EC);
include/llvm/Support/GraphWriter.h
  192       O << "{" << EdgeSourceLabels.str() << "}";
include/llvm/Support/ScopedPrinter.h
   65   return stream.str();
include/llvm/Support/YAMLTraits.h
  994     StringRef Str = Buffer.str();
 1014     StringRef Str = Buffer.str();
 1034     io.scalarTag(TagBuffer.str());
 1035     StringRef ScalarStr = ScalarBuffer.str();
lib/Analysis/Analysis.cpp
  108     *DebugOS << MsgsOS.str();
  114     *OutMessages = strdup(MsgsOS.str().c_str());
lib/Analysis/Lint.cpp
  210   dbgs() << MessagesStr.str();
lib/AsmParser/LLParser.cpp
   60   return Tmp.str();
lib/BinaryFormat/MsgPackDocumentYAML.cpp
   64   return OS.str();
lib/Bitcode/Writer/BitWriter.cpp
   48   return wrap(MemoryBuffer::getMemBufferCopy(OS.str()).release());
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  814   AP.OutStreamer->AddComment(OS.str());
 1380   OutStreamer->EmitBinaryData(OS.str());
 2201       report_fatal_error(OS.str());
lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp
  274         MMI->getModule()->getContext().emitError(LocCookie, Msg.str());
  456           MMI->getModule()->getContext().emitError(LocCookie, Msg.str());
  599     report_fatal_error(Msg.str());
lib/CodeGen/GlobalISel/IRTranslator.cpp
 2358           R << ": '" << InstStr.str() << "'";
lib/CodeGen/MIRPrinter.cpp
  515     YamlConstant.Value = StrOS.str();
  535       Entry.Blocks.push_back(StrOS.str());
lib/CodeGen/MIRPrintingPass.cpp
   46     MachineFunctions.append(StrOS.str());
lib/CodeGen/MIRVRegNamerUtils.cpp
  342     return MRI.createVirtualRegister(RC, OS.str());
  343   return MRI.createGenericVirtualRegister(MRI.getType(VReg), OS.str());
lib/CodeGen/MachineOutliner.cpp
 1168         Unit /* Context */, F->getName(), StringRef(MangledNameStream.str()),
lib/CodeGen/MachineScheduler.cpp
 3720     return SS.str();
lib/CodeGen/ScheduleDAGInstrs.cpp
 1182   return oss.str();
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
 1509             R << ": " << InstStr.str();
 1558           R << ": " << InstStr.str();
 3662   report_fatal_error(Msg.str());
lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
  292   return O.str();
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp
  266       return std::make_pair(EvalResult(ErrMsgStream.str()), "");
  277       return std::make_pair(EvalResult(ErrMsgStream.str()), "");
lib/IR/DiagnosticInfo.cpp
  370   return OS.str();
lib/MC/MCParser/AsmParser.cpp
 5989   AsmString = OS.str();
lib/Object/WindowsResource.cpp
  210   return OS.str();
  252   return OS.str();
lib/Passes/StandardInstrumentations.cpp
   67     return std::make_pair(M, formatv(" (loop: {0})", ss.str()).str());
lib/ProfileData/InstrProfWriter.cpp
   73       std::string &Data = SOStream.str(); // with flush
lib/ProfileData/SampleProfWriter.cpp
   99       static_cast<raw_string_ostream *>(LocalBufStream.get())->str();
lib/Remarks/BitstreamRemarkSerializer.cpp
  103   StringRef Blob = OS.str();
lib/Remarks/Remark.cpp
   26   return OS.str();
lib/Support/LockFileManager.cpp
  230       setError(EC, OSS.str());
  276     return OSS.str();
lib/Support/ScopedPrinter.cpp
   19   return stream.str();
lib/TableGen/Main.cpp
  125       if (std::move(ExistingOrErr.get())->getBuffer() == Out.str())
  134   OutFile.os() << Out.str();
lib/TableGen/SetTheory.cpp
  225       Record *Rec = Records.getDef(OS.str());
lib/Target/AArch64/AArch64A57FPLoadBalancing.cpp
  300     return OS.str();
lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
  166     getTargetStreamer()->EmitISAVersion(ISAVersionStream.str());
lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp
  508   errs() << (HSAMetadataString == StrOS.str() ? "PASS" : "FAIL") << '\n';
  511            << "Produced output: " << StrOS.str() << '\n';
  926     dump(StrOS.str());
  928     verify(StrOS.str());
lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp
  333       LLVM_DEBUG(dbgs() << "Printf metadata = " << Sizes.str() << '\n');
  334       std::string fmtstr = itostr(++UniqID) + ":" + Sizes.str().c_str();
lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
 3595   if (Target != ExpectedTargetOS.str())
 4111   if (ISAVersionStringFromASM != ISAVersionStreamFromSTI.str()) {
 4117   getTargetStreamer().EmitISAVersion(ISAVersionStreamFromSTI.str());
lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
  245   OS << StrOS.str() << '\n';
lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp
 1278   return Parser.printError(IDLoc, ES.str());
lib/Target/Hexagon/HexagonISelLowering.cpp
 1693     report_fatal_error(O.str());
lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.cpp
  463   report_fatal_error(Stream.str());
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
 2011       report_fatal_error(OS.str());
 2025     report_fatal_error(OS.str());
lib/Target/NVPTX/NVPTXAssignValidGlobalNames.cpp
   84   return ValidNameStream.str();
lib/Target/NVPTX/NVPTXReplaceImageHandles.cpp
  164     Idx = MFI->getImageHandleSymbolIndex(NewSymStr.str().c_str());
lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
  338   Sig = OS.str();
lib/Target/X86/X86MCInstLower.cpp
 2288         OutStreamer->AddComment(CS.str());
 2385         OutStreamer->AddComment(CS.str());
 2397         OutStreamer->AddComment(CS.str());
 2484       OutStreamer->AddComment(CS.str());
lib/Transforms/IPO/LowerTypeTests.cpp
 1393                      AsmOS.str(), ConstraintOS.str(),
 1393                      AsmOS.str(), ConstraintOS.str(),
lib/Transforms/IPO/WholeProgramDevirt.cpp
 1231   return OS.str();
lib/Transforms/InstCombine/InstructionCombining.cpp
 3307     LLVM_DEBUG(raw_string_ostream SS(OrigI); I->print(SS); OrigI = SS.str(););
lib/Transforms/Instrumentation/PGOInstrumentation.cpp
 1693   return OS.str();
lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
 1218         llvm_unreachable(RSO.str().c_str());
lib/Transforms/Vectorize/SLPVectorizer.cpp
 5540                << rso.str() + " is unsupported by vectorizer";
tools/clang/include/clang/StaticAnalyzer/Checkers/SValExplainer.h
   33     return OS.str();
   70     return OS.str();
   83     return OS.str();
  124     return OS.str();
  178     return OS.str();
  223            std::string(OS.str()) + ")";
  231            std::string(OS.str()) + ")";
  239            std::string(OS.str()) + ")";
tools/clang/lib/AST/ASTDiagnostic.cpp
  311       return OS.str();
tools/clang/lib/AST/Decl.cpp
 1554   return OS.str();
tools/clang/lib/AST/DeclPrinter.cpp
  581   Out << EOut.str();
  719         Proto += EOut.str();
tools/clang/lib/AST/DeclarationName.cpp
  226   return OS.str();
  451   return OS.str();
tools/clang/lib/AST/JSONNodeDumper.cpp
  653   JOS.attribute("templateName", OS.str());
  675     JOS.attribute("qualifier", OS.str());
 1047   JOS.attribute("selector", OS.str());
 1078     JOS.attribute("selector", OS.str());
 1087   JOS.attribute("selector", OS.str());
 1278     JOS.attribute("value", OS.str());
 1410   JOS.attribute("value", SS.str());
tools/clang/lib/AST/Mangle.cpp
  458     llvm::Mangler::getNameWithPrefix(BOS, FOS.str(), DL);
  460     return BOS.str();
  472     llvm::Mangler::getNameWithPrefix(BOS, FOS.str(), DL);
  474     return BOS.str();
tools/clang/lib/AST/MicrosoftMangle.cpp
 1067         return Stream.str();
tools/clang/lib/AST/StmtPrinter.cpp
 2466   Out << JsonFormat(TempOut.str(), AddQuotes);
tools/clang/lib/AST/StmtViz.cpp
   45     std::string OutStr = Out.str();
tools/clang/lib/ASTMatchers/Dynamic/Diagnostics.cpp
  197   return OS.str();
  216   return OS.str();
tools/clang/lib/ASTMatchers/Dynamic/Registry.cpp
  658       Completions.emplace_back(TypedText, OS.str(), MaxSpecificity);
tools/clang/lib/Analysis/CFG.cpp
 5803   Out << JsonFormat(TempOut.str(), AddQuotes);
 5988     std::string& OutStr = Out.str();
tools/clang/lib/Basic/SourceLocation.cpp
   74   return OS.str();
  133   return OS.str();
tools/clang/lib/Basic/Version.cpp
  114   return OS.str();
  135   return OS.str();
  147   return OS.str();
tools/clang/lib/CodeGen/BackendUtil.cpp
 1628           ArrayRef<uint8_t>((const uint8_t *)OS.str().data(), OS.str().size());
 1628           ArrayRef<uint8_t>((const uint8_t *)OS.str().data(), OS.str().size());
tools/clang/lib/CodeGen/CodeGenAction.cpp
  664       << MsgStream.str();
tools/clang/lib/CodeGen/CodeGenModule.cpp
 5776     InternalId = llvm::MDString::get(getLLVMContext(), Out.str());
tools/clang/lib/CodeGen/CoverageMappingGen.cpp
 1404   size_t FilenamesSize = OS.str().size() - CoverageMappingSize;
 1407   if (size_t Rem = OS.str().size() % 8) {
 1412       llvm::ConstantDataArray::getString(Ctx, OS.str(), false);
tools/clang/lib/CodeGen/MacroPPCallbacks.cpp
  188                                      Name.str(), Value.str());
  188                                      Name.str(), Value.str());
tools/clang/lib/CodeGen/SanitizerMetadata.cpp
   74   reportGlobalToASan(GV, D.getLocation(), OS.str(), D.getType(), IsDynInit,
tools/clang/lib/CodeGen/TargetInfo.cpp
 1198   AsmString = std::move(OS.str());
tools/clang/lib/Driver/Driver.cpp
 1897   llvm::errs() << Indent + getSelfIndent(Kind) << Id << ": " << os.str() << ", "
 1898                << types::getTypeName(A->getType()) << offload_os.str() << "\n";
tools/clang/lib/Driver/ToolChains/Darwin.cpp
 2334     CC1Args.push_back(DriverArgs.MakeArgString(OS.str()));
tools/clang/lib/Format/Format.cpp
 1209   return Stream.str();
tools/clang/lib/Frontend/ChainedIncludesSource.cpp
  183       serialBufNames.push_back(os.str());
tools/clang/lib/Frontend/InitPreprocessor.cpp
 1195   PP.setPredefines(Predefines.str());
tools/clang/lib/Frontend/Rewrite/FrontendActions.cpp
  316     (*OutputStream) << OS.str();
tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
  275       const std::string &Str = S.str();
 2576   Preamble += prettyBuf.str();
 4417     globalBuf += constructorExprBuf.str();
tools/clang/lib/Frontend/Rewrite/RewriteObjC.cpp
  226       const std::string &Str = S.str();
 1696   syncBuf += syncExprBuf.str();
 2501   Preamble += prettyBuf.str();
tools/clang/lib/Rewrite/HTMLRewrite.cpp
  206   return os.str();
  270   RB.InsertTextBefore(0, os.str());
  434   R.InsertTextBefore(StartLoc, os.str());
tools/clang/lib/Sema/CodeCompleteConsumer.cpp
  334   return OS.str();
  643   return OS.str();
tools/clang/lib/Sema/SemaAttr.cpp
  648   return OS.str();
tools/clang/lib/Sema/SemaChecking.cpp
12273     Diag(E->getExprLoc(), DiagID) << IsParam << S.str()
12367   Diag(E->getExprLoc(), DiagID) << DiagType << S.str() << E->getSourceRange()
tools/clang/lib/Sema/SemaCodeComplete.cpp
 3982         Builder.AddTextChunk(Results.getAllocator().CopyString(OS.str()));
tools/clang/lib/Sema/SemaDeclAttr.cpp
 8389     FixitDiag << FixItHint::CreateInsertion(IfInsertionLoc, FixItOS.str());
 8396     FixItOS.str().clear();
 8402     FixitDiag << FixItHint::CreateInsertion(ElseInsertionLoc, FixItOS.str());
tools/clang/lib/Sema/SemaLookup.cpp
 4445           if (OldOStream.str() == NewQualified)
 5159     return PrefixOStream.str();
tools/clang/lib/Sema/SemaStmtAsm.cpp
  918     Label->setMSAsmLabel(OS.str());
tools/clang/lib/StaticAnalyzer/Checkers/BlockInCriticalSectionChecker.cpp
  177                                                     os.str(), ErrNode);
tools/clang/lib/StaticAnalyzer/Checkers/CheckObjCDealloc.cpp
  245                        OS.str(), DLoc);
  580                                                        OS.str(), ErrNode);
  702                                                      OS.str(), ErrNode);
  744                                                      OS.str(), ErrNode);
tools/clang/lib/StaticAnalyzer/Checkers/CheckObjCInstMethSignature.cpp
   74         categories::CoreFoundationObjectiveC, os.str(), MethDLoc);
tools/clang/lib/StaticAnalyzer/Checkers/GCDAntipatternChecker.cpp
  200     OS.str(),
tools/clang/lib/StaticAnalyzer/Checkers/OSObjectCStyleCast.cpp
   53     OS.str(),
tools/clang/lib/StaticAnalyzer/Checkers/ObjCSuperDeallocChecker.cpp
  165     Desc = OS.str();
tools/clang/lib/StaticAnalyzer/Checkers/ObjCUnusedIVarsChecker.cpp
  166                          os.str(), L);
tools/clang/lib/StaticAnalyzer/Checkers/PointerIterationChecker.cpp
   54                      OS.str(), Location, Range);
tools/clang/lib/StaticAnalyzer/Checkers/PointerSortingChecker.cpp
   54                      OS.str(), Location, Range);
tools/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.cpp
  413   if (os.str().empty())
  417   return std::make_shared<PathDiagnosticEventPiece>(L, os.str());
  448   return std::make_shared<PathDiagnosticEventPiece>(L, os.str());
  497     return std::make_shared<PathDiagnosticEventPiece>(Pos, os.str());
  539     return std::make_shared<PathDiagnosticEventPiece>(Pos, os.str());
  586   if (os.str().empty())
  592   auto P = std::make_shared<PathDiagnosticEventPiece>(Pos, os.str());
  808   return std::make_shared<PathDiagnosticEventPiece>(L, os.str());
tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp
  587   if (os.str().empty())
  792                                                        os.str());
  803   return std::make_shared<PathDiagnosticControlFlowPiece>(Start, End, os.str());
  851                                                          os.str());
  887         std::make_shared<PathDiagnosticControlFlowPiece>(Start, End, os.str()));
  909         std::make_shared<PathDiagnosticControlFlowPiece>(Start, End, os.str()));
  935                                                            os.str()));
  961                                                            os.str()));
tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
 3090     return Out.str();
tools/clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp
  310       R.InsertTextBefore(SMgr.getLocForStartOfFile(*I), os.str());
  322       R.InsertTextAfter(SMgr.getLocForEndOfFile(FileIDs[0]), os.str());
  341   return os.str();
  432   return os.str();
  524     R.InsertTextBefore(SMgr.getLocForStartOfFile(FID), os.str());
  576     R.InsertTextBefore(SMgr.getLocForStartOfFile(FID), os.str());
  946   R.InsertTextBefore(Loc, os.str());
tools/clang/lib/StaticAnalyzer/Core/MemRegion.cpp
  451   return os.str();
tools/clang/lib/StaticAnalyzer/Core/SVals.cpp
  293   Out << JsonFormat(TempOut.str(), AddQuotes);
tools/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
  737   return OS.str();
tools/clang/lib/Tooling/Core/Replacement.cpp
   92   return Stream.str();
tools/clang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp
  180   return llvm::make_error<llvm::StringError>(DiagnosticsOS.str(),
tools/clang/lib/Tooling/Refactoring/Extract/Extract.cpp
  170     auto Err = Change.insert(SM, ExtractedDeclLocation, OS.str());
  187         SM, CharSourceRange::getTokenRange(ExtractedRange), OS.str());
tools/clang/lib/Tooling/Syntax/Tokens.cpp
  632   return OS.str();
tools/clang/lib/Tooling/Syntax/Tree.cpp
  128   return std::move(OS.str());
  140   return OS.str();
tools/clang/lib/Tooling/Transformer/Stencil.cpp
  161   *Result += Os.str();
tools/clang/tools/clang-fuzzer/handle-llvm/handle_llvm.cpp
  132   return OS.str();
tools/clang/tools/driver/cc1gen_reproducer_main.cpp
  105     llvm::outs() << "REPRODUCER METAINFO: " << OS.str() << "\n";
  106   return std::move(OS.str());
tools/clang/tools/extra/clang-change-namespace/tool/ClangChangeNamespace.cpp
  156            << llvm::yaml::escape(ContentStream.str()) << "\"\n";
tools/clang/tools/extra/clang-doc/MDGenerator.cpp
   40   return Stream.str();
   97     writeLine("<" + I.Name + Attrs.str() + CloseTag, OS);
  119   writeLine(Members.str(), OS);
  141                         "(" + Stream.str() + ")"),
  145                         Stream.str() + ")"),
tools/clang/tools/extra/clang-move/tool/ClangMove.cpp
  200            << llvm::yaml::escape(ContentStream.str()) << "\"\n";
tools/clang/tools/extra/clang-query/QueryParser.cpp
  161   return new InvalidQuery(OS.str());
tools/clang/tools/extra/clang-tidy/ClangTidyOptions.cpp
  344   return Stream.str();
tools/clang/tools/extra/clang-tidy/bugprone/ParentVirtualCallCheck.cpp
   68   return OS.str();
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeMemberInitCheck.cpp
  156     return Stream.str();
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/SpecialMemberFunctionsCheck.cpp
   97   return Stream.str();
tools/clang/tools/extra/clang-tidy/modernize/AvoidBindCheck.cpp
  175                                        Stream.str());
tools/clang/tools/extra/clangd/AST.cpp
  123   return Out.str();
  137     return Out.str();
  159   return Out.str();
tools/clang/tools/extra/clangd/Selection.cpp
  144   return std::move(OS.str());
  459   return std::move(OS.str());
tools/clang/tools/extra/clangd/TUScheduler.cpp
  817   return OS.str();
tools/clang/tools/extra/clangd/index/dex/dexp/Dexp.cpp
   99       llvm::outs() << OS.str();
tools/clang/tools/extra/clangd/refactor/tweaks/DumpAST.cpp
   64   return Effect::showMessage(std::move(OS.str()));
  121     return Effect::showMessage(std::move(OS.str()));
tools/clang/tools/extra/clangd/unittests/FindTargetTests.cpp
   43         llvm::StringRef(OS.str()).take_until([](char C) { return C == '\n'; });
tools/clang/tools/extra/clangd/unittests/FuzzyMatchTests.cpp
  218               << Info.str();
  223               << Info.str();
tools/clang/tools/extra/clangd/unittests/JSONTransportTests.cpp
   41   std::string output() { return Out.str(); }
   42   std::string input_mirror() { return Mirror.str(); }
   58   std::string log() { return Log.str(); }
tools/clang/tools/extra/pp-trace/PPCallbacksTracker.cpp
   43     std::string Result = SS.str();
  284   appendArgument("Ids", SS.str());
  442   appendArgument(Name, SS.str());
  521   appendArgument(Name, SS.str());
  549   appendArgument(Name, SS.str());
  588   appendArgument(Name, SS.str());
  625   appendArgument(Name, SS.str());
  643   appendArgument(Name, SS.str());
tools/clang/tools/extra/unittests/clang-doc/HTMLGeneratorTest.cpp
  141   EXPECT_EQ(Expected, Actual.str());
  264   EXPECT_EQ(Expected, Actual.str());
  317   EXPECT_EQ(Expected, Actual.str());
  366   EXPECT_EQ(Expected, Actual.str());
  451   EXPECT_EQ(Expected, Actual.str());
tools/clang/tools/extra/unittests/clang-doc/MDGeneratorTest.cpp
   79   EXPECT_EQ(Expected, Actual.str());
  146   EXPECT_EQ(Expected, Actual.str());
  178   EXPECT_EQ(Expected, Actual.str());
  209   EXPECT_EQ(Expected, Actual.str());
  360   EXPECT_EQ(Expected, Actual.str());
tools/clang/tools/extra/unittests/clang-doc/YAMLGeneratorTest.cpp
   72   EXPECT_EQ(Expected, Actual.str());
  172   EXPECT_EQ(Expected, Actual.str());
  225   EXPECT_EQ(Expected, Actual.str());
  263   EXPECT_EQ(Expected, Actual.str());
  469   EXPECT_EQ(Expected, Actual.str());
tools/clang/tools/extra/unittests/clang-query/QueryEngineTest.cpp
   58   EXPECT_EQ("", OS.str());
   64   EXPECT_EQ("Parse error\n", OS.str());
   70   EXPECT_TRUE(OS.str().find("Available commands:") != std::string::npos);
   76   EXPECT_TRUE(OS.str().find("foo.cc:1:1: note: \"root\" binds here") !=
   78   EXPECT_TRUE(OS.str().find("foo.cc:2:1: note: \"root\" binds here") !=
   80   EXPECT_TRUE(OS.str().find("bar.cc:1:1: note: \"root\" binds here") !=
   82   EXPECT_TRUE(OS.str().find("bar.cc:2:1: note: \"root\" binds here") !=
   84   EXPECT_TRUE(OS.str().find("4 matches.") != std::string::npos);
   90   EXPECT_TRUE(OS.str().find("foo.cc:1:1: note: \"root\" binds here") !=
   92   EXPECT_TRUE(OS.str().find("1 match.") != std::string::npos);
  100   EXPECT_TRUE(OS.str().find("Binding for \"root\":\nvoid foo1()") !=
  109   EXPECT_TRUE(OS.str().find("FunctionDecl") != std::string::npos);
  118     auto Output = OS.str();
  129   EXPECT_TRUE(OS.str().find("No bindings.") != std::string::npos);
  135   EXPECT_EQ("Not a valid top-level matcher.\n", OS.str());
  140   EXPECT_EQ("", OS.str());
  144   EXPECT_EQ("", OS.str());
  148   EXPECT_TRUE(OS.str().find("foo.cc:1:1: note: \"root\" binds here") !=
  150   EXPECT_TRUE(OS.str().find("1 match.") != std::string::npos);
  154   EXPECT_EQ("", OS.str());
  159             "1:10: Value not found: x\n", OS.str());
tools/clang/unittests/AST/ASTTraverserTest.cpp
   85   return OS.str();
tools/clang/unittests/AST/MatchVerifier.h
  199       this->setFailure(Msg.str());
  246       this->setFailure(Msg.str());
  272     if (Dump.str().find(ExpectSubstring) == std::string::npos) {
  276           << Dump.str() << '>';
  277       this->setFailure(Msg.str());
  299     if (Print.str() != ExpectString) {
  303           << Print.str() << '>';
  304       this->setFailure(Msg.str());
tools/clang/unittests/Analysis/ExprMutationAnalyzerTest.cpp
   70     Chain.push_back(StringRef(stream.str()).trim().str());
tools/clang/unittests/Frontend/CompilerInstanceTest.cpp
   91   ASSERT_EQ(DiagnosticsOS.str(), "error: expected no crash\n");
tools/clang/unittests/Frontend/OutputStreamTest.cpp
   70   EXPECT_TRUE(!VerboseStream.str().empty());
tools/clang/unittests/Tooling/ASTSelectionTest.cpp
  170         ASSERT_EQ(OS.str(), "FunctionDecl \"f\" contains-selection\n");
tools/clang/unittests/Tooling/DiagnosticsYamlTest.cpp
  112   EXPECT_EQ(YAMLContent, YamlContentStream.str());
tools/clang/unittests/Tooling/LexicallyOrderedRecursiveASTVisitorTest.cpp
   90   Matcher.match(OS.str(), D);
   99   Matcher.match(OS.str(), D);
tools/clang/unittests/Tooling/RecursiveASTVisitorTestDeclVisitor.cpp
   70     Match(OS.str(), Decl->getLocation());
tools/clang/unittests/Tooling/RecursiveASTVisitorTests/TemplateArgumentLocTraverser.cpp
   24     Match(Stream.str(), ArgLoc.getLocation());
tools/clang/unittests/Tooling/ReplacementsYamlTest.cpp
   46                YamlContentStream.str().c_str());
   70                YamlContentStream.str().c_str());
tools/clang/utils/TableGen/ClangAttrEmitter.cpp
 3709   OS << SS.str();
 3845       OS << SS.str();
 3872       OS << SS.str();
tools/clang/utils/TableGen/MveEmitter.cpp
 1425     OS << parts[i].str();
tools/lld/COFF/Chunks.cpp
  347   error(os.str());
tools/lld/COFF/DriverUtils.cpp
  386   return os.str();
tools/lld/COFF/SymbolTable.cpp
  221   errorOrWarn(os.str());
  544   return os.str();
  581     warn(os.str());
  583     error(os.str());
tools/lld/ELF/Thunks.cpp
  757   addSymbol(saver.save(os.str()), STT_FUNC, 0, isec);
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileYAML.cpp
  779     io.setError(stream.str());
tools/lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp
   91           StringRef newName = copyString(buffer.str());
  121       StringRef newName = copyString(buffer.str());
  135         StringRef newName2 = copyString(buffer2.str());
tools/lldb/include/lldb/Utility/ReproducerInstrumentation.h
   63   return ss.str();
tools/lldb/source/Commands/CommandObjectLog.cpp
  182     result.GetErrorStream() << error_stream.str();
  253       result.GetErrorStream() << error_stream.str();
  306     result.GetOutputStream() << output_stream.str();
tools/lldb/source/Interpreter/Options.cpp
  969   return std::move(sstr.str());
tools/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
 5053   return output_stream.str();
tools/lldb/source/Plugins/Process/minidump/ProcessMinidump.cpp
  295         *stop_thread, desc_stream.str().c_str());
tools/lldb/source/Plugins/SymbolFile/DWARF/DebugNamesDWARFIndex.cpp
  271   s.PutCString(os.str());
tools/lldb/source/Utility/Log.cpp
  346   WriteMessage(message.str());
tools/lldb/tools/lldb-instr/Instrument.cpp
   47   return OS.str();
   67   return OS.str();
   86   return OS.str();
  100   return OS.str();
  113   return OS.str();
  121   return OS.str();
  132   return OS.str();
tools/lldb/tools/lldb-server/LLDBServerUtilities.cpp
   58                         channel, error_stream.str());
tools/lldb/tools/lldb-test/lldb-test.cpp
  358   return std::move(OS.str());
tools/lldb/tools/lldb-vscode/JSONUtils.cpp
  118       strs.push_back(strm.str());
  543       const uint32_t comment_row = std::max(line_strm.str().size(), (size_t)60);
  546           line_strm.indent(comment_row - line_strm.str().size());
  549       src_strm << line_strm.str() << "\n";
  553     src_strm.str();
tools/lldb/tools/lldb-vscode/VSCode.cpp
  105   SendJSON(strm.str());
tools/lldb/unittests/Utility/ReproducerInstrumentationTest.cpp
  311   llvm::StringRef buffer(os.str());
  337   llvm::StringRef buffer(os.str());
  363   llvm::StringRef buffer(os.str());
  390   llvm::StringRef buffer(os.str());
  407   llvm::StringRef buffer(os.str());
  428   llvm::StringRef buffer(os.str());
  462   registry.Replay(os.str());
  500   registry.Replay(os.str());
  539   registry.Replay(os.str());
  574   registry.Replay(os.str());
  609   registry.Replay(os.str());
tools/llvm-as/llvm-as.cpp
  137       errs() << OS.str();
tools/llvm-elfabi/ELFObjHandler.cpp
   71   return createError(Stream.str().c_str());
tools/llvm-exegesis/lib/BenchmarkResult.cpp
   86   std::string &getLastError() { return ErrorStream.str(); }
tools/llvm-lipo/llvm-lipo.cpp
  267     reportError(OS.str());
  366     reportError(OS.str());
tools/llvm-mt/llvm-mt.cpp
  106     reportError(OS.str());
tools/llvm-opt-report/OptReport.cpp
  372             RS << std::string(UCDigits - RS.str().size(), ' ');
  375           return RS.str();
  385             RS << std::string(VFDigits + ICDigits + 1 - RS.str().size(), ' ');
  388           return RS.str();
tools/llvm-readobj/ARMWinEHPrinter.cpp
  110   return OS.str();
tools/llvm-readobj/ELFDumper.cpp
 4187   return OS.str();
 4215   return OS.str();
 4235   return OS.str();
 4245   return OS.str();
 4266     return OS.str();
 4274     return OS.str();
 4280     return OS.str();
 4287       return OS.str();
 4292       return OS.str();
 4303     return OS.str();
 4310       return OS.str();
 4315       return OS.str();
 4343     return OS.str();
 4351       return OS.str();
 4356       return OS.str();
 4370     return OS.str();
 4390       Properties.push_back(OS.str());
 4429   return {OSName, ABI.str(), /*IsValid=*/true};
 4437   return OS.str();
 4520     return {"AMDGPU Metadata", StrOS.str()};
tools/llvm-readobj/Win64EHDumper.cpp
  129       return OS.str();
  137   return OS.str();
tools/llvm-size/llvm-size.cpp
  226              << format(fmt.str().c_str(), Seg.vmsize);
  240         outs() << format(fmt.str().c_str(), Sec.size);
  248         outs() << "\ttotal " << format(fmt.str().c_str(), sec_total) << "\n";
  253              << format(fmt.str().c_str(), Seg_vmsize);
  268         outs() << format(fmt.str().c_str(), Sec_size);
  276         outs() << "\ttotal " << format(fmt.str().c_str(), sec_total) << "\n";
  279   outs() << "total " << format(fmt.str().c_str(), total) << "\n";
  411     outs() << format(fmt.str().c_str(), static_cast<const char *>("section"),
  434       outs() << format(fmt.str().c_str(), name_or_err->str().c_str(), size, addr);
  440       outs() << format(fmt.str().c_str(), std::string("*COM*").c_str(),
  448     outs() << format(fmt.str().c_str(), static_cast<const char *>("Total"),
  499     outs() << format(fmt.str().c_str(), total_text, total_data, total_bss);
  503     outs() << format(fmt.str().c_str(), total, total);
  854   outs() << format(fmt.str().c_str(), TotalObjectText, TotalObjectData,
  859   outs() << format(fmt.str().c_str(), TotalObjectTotal, TotalObjectTotal)
tools/llvm-xray/xray-graph.cpp
  352   return S.str();
tools/polly/lib/Analysis/ScopDetectionDiagnostic.cpp
  641   return OS.str();
tools/polly/lib/Analysis/ScopInfo.cpp
 1893   EntryStr.str();
 1897     ExitStr.str();
tools/polly/lib/CodeGen/BlockGenerators.cpp
  657   return OS.str();
tools/polly/lib/Exchange/JSONExporter.cpp
  116       Sizes.push_back(RawStringOstream.str());
  121     Array["type"] = RawStringOstream.str();
  577     if (RawStringOstream.str() != SizesArray[i].getAsString().getValue())
  584   if (RawStringOstream.str() != Array.getString("type").getValue()) {
unittests/ADT/StringExtrasTest.cpp
  105   EXPECT_EQ("abcdefg01234.,&!~`'}\"", OS.str());
  112   EXPECT_EQ("ABCdef123&<>\\\\\\22'\\09", OS.str());
  119   EXPECT_EQ("ABCdef123&amp;&lt;&gt;&quot;&apos;", OS.str());
unittests/ADT/StringRefTest.cpp
  533   EXPECT_EQ("hello", OS.str());
unittests/ADT/TwineTest.cpp
   23   return OS.str();
unittests/Analysis/CFGTest.cpp
   42       report_fatal_error(os.str().c_str());
unittests/Analysis/LazyCallGraphTest.cpp
   35     report_fatal_error(OS.str().c_str());
unittests/Analysis/TargetLibraryInfoTest.cpp
   40       report_fatal_error(os.str());
unittests/Analysis/ValueTrackingTest.cpp
   33     EXPECT_TRUE(M) << os.str();
  947   EXPECT_EQ(GetParam().first, S.str());
unittests/Analysis/VectorUtilsTest.cpp
   39       report_fatal_error(os.str());
unittests/BinaryFormat/MsgPackDocumentTest.cpp
   98   ASSERT_EQ(OStream.str(), "---\n- 1\n- 2\n...\n");
  127   ASSERT_EQ(OStream.str(), "---\n"
  147   ASSERT_EQ(OStream.str(), "---\n"
unittests/BinaryFormat/MsgPackWriterTest.cpp
   26   EXPECT_EQ(OStream.str(), "\xc0");
   32   EXPECT_EQ(OStream.str(), "\xc3\xc2");
   41     std::string Output = OStream.str();
   51   EXPECT_EQ(OStream.str(), "\xcc\x80");
   57   EXPECT_EQ(OStream.str(), "\xcc\xdd");
   63   EXPECT_EQ(OStream.str(), "\xcc\xff");
   69   EXPECT_EQ(OStream.str(), std::string("\xcd\x01\x00", 3));
   75   EXPECT_EQ(OStream.str(), "\xcd\xab\xcd");
   81   EXPECT_EQ(OStream.str(), "\xcd\xff\xff");
   87   EXPECT_EQ(OStream.str(), std::string("\xce\x00\x01\x00\x00", 5));
   93   EXPECT_EQ(OStream.str(), "\xce\xab\xcd\xef\xba");
   99   EXPECT_EQ(OStream.str(), "\xce\xff\xff\xff\xff");
  105   EXPECT_EQ(OStream.str(),
  112   EXPECT_EQ(OStream.str(), "\xcf\x01\x02\x03\x04\x05\x06\x07\x4a");
  118   EXPECT_EQ(OStream.str(), "\xcf\xff\xff\xff\xff\xff\xff\xff\xff");
  129     std::string Output = OStream.str();
  139   EXPECT_EQ(OStream.str(), "\xd0\xdf");
  145   EXPECT_EQ(OStream.str(), "\xd0\xd8");
  151   EXPECT_EQ(OStream.str(), "\xd0\x80");
  157   EXPECT_EQ(OStream.str(), "\xd1\xff\x7f");
  163   EXPECT_EQ(OStream.str(), "\xd1\xee\xef");
  169   EXPECT_EQ(OStream.str(), std::string("\xd1\x80\x00", 3));
  175   EXPECT_EQ(OStream.str(), "\xd2\xff\xff\x7f\xff");
  181   EXPECT_EQ(OStream.str(), "\xd2\xee\xee\xee\xef");
  187   EXPECT_EQ(OStream.str(), std::string("\xd2\x80\x00\x00\x00", 5));
  193   EXPECT_EQ(OStream.str(), "\xd3\xff\xff\xff\xff\x7f\xff\xff\xff");
  199   EXPECT_EQ(OStream.str(), "\xd3\xee\xee\xee\xee\xee\xee\xee\xef");
  205   EXPECT_EQ(OStream.str(),
  212   EXPECT_EQ(OStream.str(), "\xca\xee\xee\xee\xef");
  218   EXPECT_EQ(OStream.str(), "\xcb\xee\xee\xee\xee\xee\xee\xee\xef");
  224   EXPECT_EQ(OStream.str(), "\xa0");
  230   EXPECT_EQ(OStream.str(), "\xa3"
  238   EXPECT_EQ(OStream.str(), std::string("\xbf") + s);
  245   EXPECT_EQ(OStream.str(), std::string("\xd9\x20") + s);
  251   EXPECT_EQ(OStream.str(), std::string("\xd9\x21") + s);
  257   EXPECT_EQ(OStream.str(), std::string("\xd9\xff") + s);
  263   EXPECT_EQ(OStream.str(), std::string("\xda\x01\x00", 3) + s);
  269   EXPECT_EQ(OStream.str(), std::string("\xda\x01\xff") + s);
  275   EXPECT_EQ(OStream.str(), std::string("\xda\xff\xff") + s);
  281   EXPECT_EQ(OStream.str(), std::string("\xdb\x00\x01\x00\x00", 5) + s);
  287   EXPECT_EQ(OStream.str(), std::string("\xdb\x00\x01\xff\xff", 5) + s);
  293   EXPECT_EQ(OStream.str(), std::string("\xc4\x00", 2) + s);
  299   EXPECT_EQ(OStream.str(), std::string("\xc4\x05") + s);
  305   EXPECT_EQ(OStream.str(), std::string("\xc4\xff") + s);
  311   EXPECT_EQ(OStream.str(), std::string("\xc5\x01\x00", 3) + s);
  317   EXPECT_EQ(OStream.str(), "\xc5\x01\xff" + s);
  323   EXPECT_EQ(OStream.str(), std::string("\xc5\xff\xff") + s);
  329   EXPECT_EQ(OStream.str(), std::string("\xc6\x00\x01\x00\x00", 5) + s);
  335   EXPECT_EQ(OStream.str(), std::string("\xc6\x00\x01\xff\xff", 5) + s);
  340   EXPECT_EQ(OStream.str(), "\x90");
  345   EXPECT_EQ(OStream.str(), "\x94");
  351   EXPECT_EQ(OStream.str(), "\x9f");
  357   EXPECT_EQ(OStream.str(), std::string("\xdc\x00\x10", 3));
  362   EXPECT_EQ(OStream.str(), "\xdc\x01\x11");
  367   EXPECT_EQ(OStream.str(), "\xdc\xff\xff");
  372   EXPECT_EQ(OStream.str(), std::string("\xdd\x00\x01\x00\x00", 5));
  377   EXPECT_EQ(OStream.str(), std::string("\xdd\x00\x01\xff\xff", 5));
  382   EXPECT_EQ(OStream.str(), "\xdd\xff\xff\xff\xff");
  387   EXPECT_EQ(OStream.str(), "\x80");
  392   EXPECT_EQ(OStream.str(), "\x84");
  398   EXPECT_EQ(OStream.str(), "\x8f");
  404   EXPECT_EQ(OStream.str(), std::string("\xde\x00\x10", 3));
  409   EXPECT_EQ(OStream.str(), "\xde\x01\x11");
  414   EXPECT_EQ(OStream.str(), "\xde\xff\xff");
  419   EXPECT_EQ(OStream.str(), std::string("\xdf\x00\x01\x00\x00", 5));
  424   EXPECT_EQ(OStream.str(), std::string("\xdf\x00\x01\xff\xff", 5));
  429   EXPECT_EQ(OStream.str(), std::string("\xdf\xff\xff\xff\xff", 5));
  437   EXPECT_EQ(OStream.str(), std::string("\xd4\x01") + s);
  443   EXPECT_EQ(OStream.str(), std::string("\xd5\x01") + s);
  449   EXPECT_EQ(OStream.str(), std::string("\xd6\x01") + s);
  455   EXPECT_EQ(OStream.str(), std::string("\xd7\x01") + s);
  461   EXPECT_EQ(OStream.str(), std::string("\xd8\x01") + s);
  467   EXPECT_EQ(OStream.str(), std::string("\xc7\x00\x01", 3) + s);
  473   EXPECT_EQ(OStream.str(), std::string("\xc7\x2a\x01") + s);
  479   EXPECT_EQ(OStream.str(), std::string("\xc7\xff\x01") + s);
  485   EXPECT_EQ(OStream.str(), std::string("\xc8\x01\x00\x02", 4) + s);
  491   EXPECT_EQ(OStream.str(), std::string("\xc8\x01\x11\x01") + s);
  497   EXPECT_EQ(OStream.str(), std::string("\xc8\xff\xff\x01") + s);
  503   EXPECT_EQ(OStream.str(), std::string("\xc9\x00\x01\x00\x00\x02", 6) + s);
  510   EXPECT_EQ(OStream.str(), std::string("\xda\x00\x20", 3) + s);
unittests/Bitcode/BitReaderTest.cpp
   38     report_fatal_error(OS.str().c_str());
unittests/CodeGen/GlobalISel/GISelMITest.cpp
   17   OS << SS.str();
   26   OS << SS.str();
unittests/CodeGen/MachineInstrTest.cpp
  338       StringRef(OS.str()).startswith("$noreg = UNKNOWN debug-location "));
  340       StringRef(OS.str()).endswith("filename:1:5"));
unittests/CodeGen/MachineOperandTest.cpp
   61   ASSERT_TRUE(OS.str() == "<regmask ...>");
   82   ASSERT_TRUE(OS.str() == "$physreg1.subreg5");
  104   ASSERT_TRUE(OS.str() == "i128 18446744073709551616");
  121   ASSERT_TRUE(OS.str() == "%subreg.3");
  140     ASSERT_TRUE(OS.str() == "%const.0 + 8");
  152     ASSERT_TRUE(OS.str() == "%const.0 - 12");
  171     ASSERT_TRUE(OS.str() == "target-index(<unknown>) + 8");
  182     ASSERT_TRUE(OS.str() == "target-index(<unknown>) - 12");
  199   ASSERT_TRUE(OS.str() == "%jump-table.3");
  216     ASSERT_TRUE(OS.str() == "&foo");
  226     ASSERT_TRUE(OS.str() == "&foo + 12");
  236     ASSERT_TRUE(OS.str() == "&foo - 12");
  262     ASSERT_TRUE(OS.str() == "@foo + 12");
  272     ASSERT_TRUE(OS.str() == "@foo - 12");
  290   ASSERT_TRUE(OS.str() == "liveout(<unknown>)");
  316   ASSERT_TRUE(OS.str() == "!0");
  336   ASSERT_TRUE(OS.str() == "<mcsymbol foo>");
  353   ASSERT_TRUE(OS.str() == "<cfi directive>");
  370     ASSERT_TRUE(OS.str() == "intrinsic(@llvm.bswap)");
  381     ASSERT_TRUE(OS.str() == "intrinsic(4294967295)");
  398   ASSERT_TRUE(OS.str() == "intpred(eq)");
unittests/DebugInfo/CodeView/RandomAccessVisitorTest.cpp
  104       AR.Name = GlobalState->Strings.save(Stream.str());
unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp
 1801       auto FormPos = OS.str().find("DW_FORM_implicit_const");
unittests/IR/AsmWriterTest.cpp
   34   std::size_t r = OS.str().find("<badref> = add i32 undef, undef, !<empty");
   62             OS.str());
unittests/IR/MetadataTest.cpp
  157   EXPECT_STREQ("!\"testing 1 2 3\"", oss.str().c_str());
  167   EXPECT_STREQ("!\"\\00\\0A\\22\\\\\\FF\"", oss.str().c_str());
 2640                oss.str().c_str());
unittests/IR/VerifierTest.cpp
   60   EXPECT_TRUE(StringRef(ErrorOS.str()).startswith(
   91   EXPECT_TRUE(StringRef(ErrorOS.str())
  106   EXPECT_TRUE(StringRef(ErrorOS.str()).equals(
  115   EXPECT_TRUE(StringRef(ErrorOS.str()).startswith(
  132       StringRef(ErrorOS.str()).startswith("Global is external, but doesn't "
  146       StringRef(ErrorOS.str()).startswith("Global is external, but doesn't "
unittests/ProfileData/CoverageMappingTest.cpp
  198     return OS.str();
unittests/ProfileData/InstrProfTest.cpp
  934     FuncNames1.push_back(OS.str());
  937     FuncNames1.push_back(OS.str());
  940     FuncNames2.push_back(OS.str());
  943     FuncNames2.push_back(OS.str());
unittests/Remarks/BitstreamRemarksParsingTest.cpp
   59       remarks::createRemarkParser(remarks::Format::Bitstream, BSStream.str());
  265   StringRef Buf = BSStream.str();
unittests/Remarks/BitstreamRemarksSerializerTest.cpp
   32   EXPECT_EQ(OutputOS.str(), Expected);
   54   checkAnalyze(InputOS.str(), ExpectedR);
   63     checkAnalyze(MetaOS.str(), *ExpectedMeta);
unittests/Remarks/YAMLRemarksParsingTest.cpp
   63   return StringRef(Stream.str()).contains(Error);
   86     EXPECT_EQ(StringRef(Stream.str()).lower(), StringRef(Error).lower());
   90     EXPECT_TRUE(StringRef(Stream.str()).contains(StringRef(Error)));
  663       StringRef(Stream.str())
unittests/Remarks/YAMLRemarksSerializerTest.cpp
   43   EXPECT_EQ(OS.str(), ExpectedR);
   50     EXPECT_EQ(OS.str(), *ExpectedMeta);
unittests/Support/ARMAttributeParser.cpp
   34     reinterpret_cast<const uint8_t*>(OS.str().c_str()), OS.str().size());
   34     reinterpret_cast<const uint8_t*>(OS.str().c_str()), OS.str().size());
unittests/Support/Chrono.cpp
   50   EXPECT_EQ("2006-01-02 15:04:05.123456789", OS.str());
unittests/Support/DebugTest.cpp
   26   EXPECT_EQ("AB", os1.str());
   31   EXPECT_EQ("A", os2.str());
unittests/Support/ErrorTest.cpp
  440   EXPECT_EQ(S.str(), "foo42\n") << "Unexpected StringError log result";
  455   EXPECT_EQ(S.str(), "foobar10xff\n")
  461   EXPECT_EQ(S.str(), "bar\n")
  751     EXPECT_EQ("success", S.str());
  759     EXPECT_EQ("CustomError {0}", S.str());
unittests/Support/JSONTest.cpp
  406     return OS.str();
unittests/Support/YAMLIOTest.cpp
 1173     EXPECT_NE(llvm::StringRef::npos, llvm::StringRef(ostr.str()).find("--- |"));
 2646   EXPECT_EQ(OS.str(), "---\nfbm:             {}\n...\n");
 2655   EXPECT_EQ(OS.str(), "---\nfbs:             []\n...\n");
unittests/Support/raw_ostream_test.cpp
  127   EXPECT_EQ("hello1world", OS.str());
unittests/TableGen/CodeExpanderTest.cpp
   51       errs() << "Emitted diagnostic:\n" << OS.str();
   76   EXPECT_EQ(OS.str(), "No expansions");
   89   EXPECT_EQ(OS.str(), "No expansions\n  second line\n  third line");
  101   EXPECT_EQ(OS.str(), "\\a$");
  114   EXPECT_EQ(OS.str(), " $foo");
  128   EXPECT_EQ(OS.str(), "$foo");
  139   EXPECT_EQ(OS.str(), "${foo");
  150   EXPECT_EQ(OS.str(), "${foo}");
  162   EXPECT_EQ(OS.str(), "expansion");
  181   EXPECT_EQ(OS.str(), "Padding expansion");
  199   EXPECT_EQ(OS.str(), " expansion");
unittests/TextAPI/ELFYAMLTest.cpp
  199   Result = OS.str();
  225   Result = OS.str();
utils/TableGen/AsmMatcherEmitter.cpp
 2339   OS << CvtOS.str();
 2342   OS << OpOS.str();
utils/TableGen/AsmWriterEmitter.cpp
 1024   if (CasesO.str().empty()) {
 1025     O << HeaderO.str();
 1038   O << HeaderO.str();
 1042   O << CasesO.str();
utils/TableGen/CodeGenDAGPatterns.cpp
 1498     PrintFatalError(OS.str());
utils/TableGen/DAGISelMatcherEmitter.cpp
  164   Stream.str();
  218   Stream.str();
utils/TableGen/DAGISelMatcherGen.cpp
  270       PrintFatalError(OS.str());
utils/TableGen/GICombinerEmitter.cpp
  228     Cases.push_back(std::make_pair(EnumeratedRule.getName(), SS.str()));
utils/TableGen/GlobalISelEmitter.cpp
  112     return OS.str();
 1538       Table << MatchTable::Comment(CommentOS.str()) << MatchTable::LineBreak;
utils/TableGen/RISCVCompressInstEmitter.cpp
  511       << CondStream.str().substr(
  512              6, CondStream.str().length() -
  515   CombinedStream << CodeStream.str();
  518   return CombinedStream.str();
  576     o << FuncH.str();
  734   Func << CaseStream.str() << "\n";
  764   o << FuncH.str();
  767   o << Func.str();
utils/TableGen/X86DisassemblerTables.cpp
 1033   o << o1.str();
 1037   o << o2.str();