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

References

include/llvm/Support/raw_ostream.h
  581   ~buffer_ostream() override { OS << str(); }
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  800   OutStreamer->AddComment(OS.str());
  892       AP.OutStreamer->emitRawComment(OS.str());
  904   AP.OutStreamer->emitRawComment(OS.str());
  929   AP.OutStreamer->emitRawComment(OS.str());
lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp
  543     unsigned BufNum = addInlineAsmDiagBuffer(OS.str(), LocMD);
  561   EmitInlineAsm(OS.str(), getSubtargetInfo(), TM.Options.MCOptions, LocMD,
lib/CodeGen/ModuloSchedule.cpp
 2019     MCSymbol *Sym = MF.getContext().getOrCreateSymbol(OS.str());
lib/ExecutionEngine/ExecutionEngine.cpp
  884     report_fatal_error(OS.str());
 1016     report_fatal_error(OS.str());
 1128     report_fatal_error(OS.str());
lib/IR/AutoUpgrade.cpp
 4058     return OS.str().substr(1);
lib/IR/Type.cpp
  428           std::make_pair(TmpStream.str(), this));
lib/MC/MCAsmStreamer.cpp
 1263     TS->emitDwarfFileDirective(OS1.str());
 1265     EmitRawText(OS1.str());
 1289     TS->emitDwarfFileDirective(OS1.str());
 1291     EmitRawText(OS1.str());
lib/MC/MCDisassembler/Disassembler.cpp
  275     StringRef AnnotationsStr = Annotations.str();
lib/MC/MCDwarf.cpp
  650   MCOS->EmitBytes(OS.str());
 1896   Streamer.EmitBytes(OS.str());
lib/MC/MCParser/AsmParser.cpp
 2232     printMessage(IDLoc, SourceMgr::DK_Note, OS.str());
 2798       MemoryBuffer::getMemBufferCopy(OS.str(), "<instantiation>");
 5543       MemoryBuffer::getMemBufferCopy(OS.str(), "<instantiation>");
lib/MC/MCStreamer.cpp
   74   Streamer.EmitRawText(OS.str());
   85     Streamer.EmitRawText(OS.str());
  150   EmitBytes(OSE.str());
  159   EmitBytes(OSE.str());
lib/ObjectYAML/ELFEmitter.cpp
   59   void writeBlobToStream(raw_ostream &Out) { Out << OS.str(); }
lib/ObjectYAML/yaml2obj.cpp
   68           MemoryBufferRef(OS.str(), "YamlObject"));
lib/Option/Arg.cpp
   84   return OS.str();
  110     Output.push_back(Args.MakeArgString(OS.str()));
lib/Support/ErrorHandling.cpp
  115     StringRef MessageStr = OS.str();
lib/Support/FileCheck.cpp
  754         SM.PrintMessage(MatchRange.Start, SourceMgr::DK_Note, OS.str(),
  758                         SourceMgr::DK_Note, OS.str());
lib/Target/AArch64/AArch64AsmPrinter.cpp
  972       OutStreamer->EmitRawText(StringRef(OS.str()));
lib/Target/AMDGPU/AMDGPULibFunc.cpp
  858   const StringRef& NameStr = Name.str();
  866   return S.str();
  939   return OS.str();
lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
 4010     return TokError(Err.str());
lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
  330     report_fatal_error("unexpected instruction to relax: " + OS.str());
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
  470   OutStreamer->EmitRawText(O.str());
  496   OutStreamer->EmitRawText(O.str());
  795   OutStreamer->EmitRawText(OS1.str());
  841   OutStreamer->EmitRawText(OS2.str());
 1687   OutStreamer->EmitRawText(O.str());
lib/Target/TargetMachineC.cpp
  239   StringRef Data = OStream.str();
lib/Target/X86/AsmParser/X86AsmParser.cpp
 3093   return Error(IDLoc, OS.str(), SMRange(), MatchingInlineAsm);
 3279     Error(IDLoc, OS.str(), EmptyRange, MatchingInlineAsm);
lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
  307     report_fatal_error("unexpected instruction to relax: " + OS.str());
lib/Target/X86/MCTargetDesc/X86WinCOFFTargetStreamer.cpp
  357   unsigned FrameFuncStrTabOff = CVCtx.addToStringTable(FuncOS.str()).second;
lib/Target/XCore/XCoreAsmPrinter.cpp
  271       OutStreamer->EmitRawText(O.str());
  284     OutStreamer->EmitRawText(O.str());
lib/Transforms/Instrumentation/MemorySanitizer.cpp
 3444                                                 StackDescription.str());
lib/Transforms/Utils/ASanStackFrameLayout.cpp
  112   return StackDescription.str();
tools/clang/examples/clang-interpreter/main.cpp
  163     Diags.Report(diag::err_fe_expected_compiler_job) << OS.str();
tools/clang/lib/AST/Expr.cpp
  711     return Out.str();
tools/clang/lib/AST/Interp/State.cpp
  156     addDiag(CallLocation, diag::note_constexpr_call_here) << Out.str();
tools/clang/lib/AST/ItaniumMangle.cpp
  685   size_t EncodingPositionStart = FunctionEncodingStream.str().size();
  701   Out << FunctionEncodingStream.str().substr(EncodingPositionStart);
tools/clang/lib/AST/Mangle.cpp
  290   Out << OS.str().size() << OS.str();
  290   Out << OS.str().size() << OS.str();
  324     llvm::Mangler::getNameWithPrefix(OS, FrontendBufOS.str(), DL);
tools/clang/lib/AST/MicrosoftMangle.cpp
   47     StringRef MangledName = str();
   52       OS << str();
tools/clang/lib/AST/TemplateBase.cpp
  545     return DB << OS.str();
  556     return DB << OS.str();
tools/clang/lib/AST/TypePrinter.cpp
 1701     StringRef ArgString = ArgOS.str();
 1755   return StrOS.str();
 1907   std::string str = StrOS.str();
tools/clang/lib/ASTMatchers/ASTMatchersInternal.cpp
  381     return OS.str();
  523     const StringRef FullName = OS.str();
tools/clang/lib/Analysis/PathDiagnostic.cpp
  175           llvm::errs() << warning.str();
  184             llvm::errs() << warning.str();
  189             llvm::errs() << warning.str();
 1001   return std::make_shared<PathDiagnosticEventPiece>(callEnter, Out.str());
 1020   return std::make_shared<PathDiagnosticEventPiece>(callEnterWithin, Out.str());
 1046   return std::make_shared<PathDiagnosticEventPiece>(callReturn, Out.str());
tools/clang/lib/Basic/IdentifierTable.cpp
  466   return OS.str();
tools/clang/lib/CodeGen/CGCUDANV.cpp
  214     DeviceSideName = Out.str();
tools/clang/lib/CodeGen/CGDebugInfo.cpp
  275   return internString(OS.str());
  306   return internString(OS.str());
 1128   return DBuilder.createTypedef(Src, OS.str(), getOrCreateFile(Loc),
 1937     std::tie(Quals, GVName) = OS.str().rsplit("::");
 1968   return internString(OS.str());
tools/clang/lib/CodeGen/CGExpr.cpp
  806             SanitizerKind::Vptr, Out.str())) {
  807       llvm::hash_code TypeHash = hash_value(Out.str());
tools/clang/lib/CodeGen/CGObjCMac.cpp
 5599     CGM.getModule().setModuleInlineAsm(OS.str());
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 1344   return OS.str();
 1675     OMPDebugLoc = CGF.Builder.CreateGlobalStringPtr(OS2.str());
 3138   StringRef RuntimeName = Out.str();
 5989   return Out.str();
 9663     VarName = OS.str();
10363       Fn->addFnAttr(Out.str());
10504   return Out.str();
10521   Fn->addFnAttr(Out.str());
tools/clang/lib/CodeGen/CGStmtOpenMP.cpp
  575                      Out.str());
tools/clang/lib/CodeGen/CodeGenModule.cpp
 1030   return Out.str();
 1122   auto Result = Manglings.insert(std::make_pair(Out.str(), BD));
tools/clang/lib/CodeGen/CodeGenTypes.cpp
   79   Ty->setName(OS.str());
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp
 4012     llvm::Comdat *C = CGM.getModule().getOrInsertComdat(Out.str());
tools/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
   81     Diags->Report(diag::err_fe_expected_compiler_job) << OS.str();
tools/clang/lib/Frontend/DiagnosticRenderer.cpp
  448   emitDiagnostic(SpellingLoc, DiagnosticsEngine::Note, Message.str(),
  582   emitBasicNote(Message.str());
  599   emitNote(Loc, Message.str());
  613   emitNote(Loc, Message.str());
  627   emitNote(Loc, Message.str());
tools/clang/lib/Frontend/LogDiagnosticPrinter.cpp
  108   this->OS << OS.str();
tools/clang/lib/Frontend/TextDiagnosticPrinter.cpp
  138     TextDiagnostic::printDiagnosticMessage(OS, Level, DiagMessageStream.str(),
  154       DiagMessageStream.str(), Info.getRanges(), Info.getFixItHints());
tools/clang/lib/Frontend/VerifyDiagnosticConsumer.cpp
  865     << Kind << /*Unexpected=*/true << OS.str();
  896     << Kind << /*Unexpected=*/false << OS.str();
tools/clang/lib/Lex/PPMacroExpansion.cpp
 1077     PP.CreateString(TmpStream.str(), TmpTok);
 1088     PP.CreateString(TmpStream.str(), TmpTok);
 1834   CreateString(OS.str(), Tok, Tok.getLocation(), Tok.getLocation());
tools/clang/lib/Rewrite/HTMLRewrite.cpp
  220     RB.InsertTextBefore(B, OS.str());
  222     RB.InsertTextBefore(B, OS.str());
tools/clang/lib/Sema/CodeCompleteConsumer.cpp
  413     CachedParentName = AllocatorRef->CopyString(OS.str());
tools/clang/lib/Sema/SemaCast.cpp
 1938     IdentifierInfo *II = PP.getIdentifierInfo(OS.str());
tools/clang/lib/Sema/SemaChecking.cpp
 8454                            FixItHint::CreateReplacement(SpecRange, os.str()));
 8471         Hints.push_back(FixItHint::CreateReplacement(SpecRange, os.str()));
 8476         Hints.push_back(FixItHint::CreateReplacement(CastRange, CastFix.str()));
 8482             FixItHint::CreateInsertion(E->getBeginLoc(), CastFix.str()));
 8487             FixItHint::CreateInsertion(E->getBeginLoc(), CastFix.str()));
 8748             getSpecifierRange(startSpecifier, specifierLen), os.str()));
 9869                                       OS.str());
 9972     << FixItHint::CreateReplacement(SR, OS.str());
10740                               << OS.str() << *Result);
10753             << OS.str() << classifyConstantValue(Constant) << OtherT
10764         << RhsConstant << OtherT << E->getOpcodeStr() << OS.str() << *Result
tools/clang/lib/Sema/SemaDeclCXX.cpp
  955   return OS.str();
12239     IterationVarName = &S.Context.Idents.get(OS.str());
14493           << Msg.str() << InnerCond->getSourceRange();
14496           << !AssertMessage << Msg.str() << AssertExpr->getSourceRange();
tools/clang/lib/Sema/SemaExceptionSpec.cpp
  451       << New << OS.str();
  454       << New << OS.str()
  455       << FixItHint::CreateInsertion(FixItLoc, " " + OS.str().str());
tools/clang/lib/Sema/SemaExpr.cpp
 7221       << CondTy << OS.str();
tools/clang/lib/Sema/SemaInit.cpp
 9573       << FixItHint::CreateInsertion(PostInit->getBeginLoc(), OS.str())
tools/clang/lib/Sema/SemaOpenMP.cpp
 2568         << (Allocator ? 1 : 0) << AllocatorStream.str()
 2569         << (PrevAllocator ? 1 : 0) << PrevAllocatorStream.str()
 5565           << OS.str();
 5580           << OS.str();
11412   return Out.str();
tools/clang/lib/Sema/SemaTemplate.cpp
10313   return Out.str();
tools/clang/lib/Sema/SemaTemplateInstantiate.cpp
  542         << OS.str()
  608         << OS.str()
  703           << OS.str()
tools/clang/lib/StaticAnalyzer/Checkers/AnalyzerStatsChecker.cpp
  106   std::string NameOfRootFunction = output.str();
  115                     output.str(), PathDiagnosticLocation(D, SM));
  133           D, this, "Sink Point", "Internal Statistics", outputI.str(),
tools/clang/lib/StaticAnalyzer/Checkers/ArrayBoundCheckerV2.cpp
  259   auto BR = std::make_unique<PathSensitiveBugReport>(*BT, os.str(), errorNode);
tools/clang/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp
  201     generateBugReport(N, os.str(), msg.getArgSourceRange(Arg),
  523     auto report = std::make_unique<PathSensitiveBugReport>(*BT, os.str(), N);
  578     auto report = std::make_unique<PathSensitiveBugReport>(BT, OS.str(), N);
  638     auto report = std::make_unique<PathSensitiveBugReport>(*BT, os.str(), N);
  791     auto R = std::make_unique<PathSensitiveBugReport>(*BT, os.str(),
tools/clang/lib/StaticAnalyzer/Checkers/CStringChecker.cpp
  299       emitNullArgBug(C, stateNull, S, OS.str());
  360       emitOutOfBoundsBug(C, StOutBound, S, os.str());
  809         emitNotCStringBug(C, state, Ex, os.str());
  860       emitNotCStringBug(C, state, Ex, os.str());
tools/clang/lib/StaticAnalyzer/Checkers/CStringSyntaxChecker.cpp
  239                          "C String API", os.str(), Loc,
  263               "C String API", os.str(), Loc,
tools/clang/lib/StaticAnalyzer/Checkers/CXXSelfAssignmentChecker.cpp
   60         return Out.str();
   70         return Out.str();
tools/clang/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp
  178         auto R = std::make_unique<PathSensitiveBugReport>(*BT, Os.str(), N);
  255       auto R = std::make_unique<PathSensitiveBugReport>(*BT, Os.str(), N);
  298         auto R = std::make_unique<PathSensitiveBugReport>(*BT, os.str(), N);
  424                                                             os.str(), N));
  529       std::make_unique<PathSensitiveBugReport>(*BT_msg_ret, os.str(), N);
tools/clang/lib/StaticAnalyzer/Checkers/CastValueChecker.cpp
  132         return Out.str();
tools/clang/lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp
  320                      bugType, "Security", os.str(),
  649                      out.str(), CELoc, strArg->getSourceRange());
  798                      Out1.str(), "Security", Out2.str(), CELoc,
  798                      Out1.str(), "Security", Out2.str(), CELoc,
  870   BR.EmitBasicReport(AC->getDecl(), filter.checkName_rand, os1.str(),
  871                      "Security", os2.str(), CELoc,
  986   BR.EmitBasicReport(AC->getDecl(), filter.checkName_UncheckedReturn, os1.str(),
  987                      "Security", os2.str(), CELoc,
tools/clang/lib/StaticAnalyzer/Checkers/DeadStoresChecker.cpp
  263     BR.EmitBasicReport(AC->getDecl(), Checker, BugType, "Dead store", os.str(),
tools/clang/lib/StaticAnalyzer/Checkers/DeleteWithNonVirtualDtorChecker.cpp
  143   return std::make_shared<PathDiagnosticEventPiece>(Pos, OS.str(), true);
tools/clang/lib/StaticAnalyzer/Checkers/DynamicTypeChecker.cpp
   84       *BT, OS.str(), C.generateNonFatalErrorNode());
  142   return std::make_shared<PathDiagnosticEventPiece>(Pos, OS.str(), true);
tools/clang/lib/StaticAnalyzer/Checkers/DynamicTypePropagation.cpp
  915                                                     OS.str(), N);
  975   return std::make_shared<PathDiagnosticEventPiece>(Pos, OS.str(), true);
tools/clang/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp
  220   reportBug(OS.str(), C);
tools/clang/lib/StaticAnalyzer/Checkers/InnerPointerChecker.cpp
  302   return std::make_shared<PathDiagnosticEventPiece>(Pos, OS.str(), true);
tools/clang/lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp
  547                      categories::CoreFoundationObjectiveC, os.str(),
  566                        categories::CoreFoundationObjectiveC, os.str(),
  572         os.str(),
tools/clang/lib/StaticAnalyzer/Checkers/LLVMConventionsChecker.cpp
  288                      "LLVM Conventions", os.str(), L);
tools/clang/lib/StaticAnalyzer/Checkers/MIGChecker.cpp
  219     return OS.str();
tools/clang/lib/StaticAnalyzer/Checkers/MacOSKeychainAPIChecker.cpp
  242   auto Report = std::make_unique<PathSensitiveBugReport>(*BT, os.str(), N);
  287             std::make_unique<PathSensitiveBugReport>(*BT, os.str(), N);
  495       *BT, os.str(), N, LocUsedForUniqueing,
tools/clang/lib/StaticAnalyzer/Checkers/MacOSXAPIChecker.cpp
  143       std::make_unique<PathSensitiveBugReport>(*BT_dispatchOnce, os.str(), N);
tools/clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
  785       return os.str();
 2085                                                       os.str(), N);
 2145         os << DeallocOs.str() << " cannot";
 2152         os << " allocated by " << AllocOs.str();
 2156         os << " allocated by " << AllocOs.str();
 2162         os << ", not " << DeallocOs.str();
 2166                                                       os.str(), N);
 2221     os << "memory allocated by " << AllocNameOs.str();
 2226                                                     os.str(), N);
 2385                                                       Os.str(), N);
 2610       *BT_Leak[*CheckKind], os.str(), N, LocUsedForUniqueing,
 3261           Msg = OS.str();
tools/clang/lib/StaticAnalyzer/Checkers/MallocSizeofChecker.cpp
  241                            categories::UnixAPI, OS.str(), L, Ranges);
tools/clang/lib/StaticAnalyzer/Checkers/MoveChecker.cpp
  329   return std::make_shared<PathDiagnosticEventPiece>(Pos, OS.str(), true);
  433         *BT, OS.str(), N, LocUsedForUniqueing,
tools/clang/lib/StaticAnalyzer/Checkers/NSErrorChecker.cpp
  277       std::make_unique<PathSensitiveBugReport>(*bug, os.str(), event.SinkNode));
tools/clang/lib/StaticAnalyzer/Checkers/NullabilityChecker.cpp
  590     reportBugIfInvariantHolds(OS.str(),
  624       reportBugIfInvariantHolds(OS.str(),
  690       reportBugIfInvariantHolds(OS.str(), ErrorKind::NilPassedToNonnull, N,
  716         reportBugIfInvariantHolds(OS.str(),
 1110     reportBugIfInvariantHolds(OS.str(),
tools/clang/lib/StaticAnalyzer/Checkers/NumberObjectConversionChecker.cpp
  190       OS.str(),
tools/clang/lib/StaticAnalyzer/Checkers/ObjCContainersASTChecker.cpp
  144     BR.EmitBasicReport(AC->getDecl(), Checker, OsName.str(),
  145                        categories::CoreFoundationObjectiveC, Os.str(), CELoc,
tools/clang/lib/StaticAnalyzer/Checkers/ObjCMissingSuperCallChecker.cpp
  209                            os.str(), DLoc);
tools/clang/lib/StaticAnalyzer/Checkers/ObjCPropertyChecker.cpp
   73       D, this, "Objective-C property misuse", "Logic error", OS.str(),
tools/clang/lib/StaticAnalyzer/Checkers/PaddingChecker.cpp
  339         std::make_unique<BasicBugReport>(*PaddingBug, Os.str(), CELoc);
tools/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.cpp
 1277                                                os.str());
tools/clang/lib/StaticAnalyzer/Checkers/ReturnValueChecker.cpp
  108         return Out.str();
  157         return Out.str();
tools/clang/lib/StaticAnalyzer/Checkers/StackAddrEscapeChecker.cpp
  166       std::make_unique<PathSensitiveBugReport>(*BT_returnstack, os.str(), N);
  204         *BT_capturedstackasync, Out.str(), N);
  227                                                            Out.str(), N);
  356         std::make_unique<PathSensitiveBugReport>(*BT_stackleak, Out.str(), N);
tools/clang/lib/StaticAnalyzer/Checkers/UndefCapturedBlockVarChecker.cpp
   86         auto R = std::make_unique<PathSensitiveBugReport>(*BT, os.str(), N);
tools/clang/lib/StaticAnalyzer/Checkers/UndefResultChecker.cpp
  173     auto report = std::make_unique<PathSensitiveBugReport>(*BT, OS.str(), N);
tools/clang/lib/StaticAnalyzer/Checkers/UndefinedAssignmentChecker.cpp
  108   if (OS.str().empty())
  111   auto R = std::make_unique<PathSensitiveBugReport>(*BT, OS.str(), N);
tools/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedObjectChecker.cpp
  205       *BT_uninitField, WarningOS.str(), Node, LocUsedForUniqueing,
tools/clang/lib/StaticAnalyzer/Checkers/UnixAPIChecker.cpp
  308       std::make_unique<PathSensitiveBugReport>(*BT_pthreadOnce, os.str(), N);
  352       std::make_unique<PathSensitiveBugReport>(*BT_mallocZero, os.str(), N);
tools/clang/lib/StaticAnalyzer/Checkers/VLASizeChecker.cpp
   75   auto report = std::make_unique<PathSensitiveBugReport>(*BT, os.str(), N);
tools/clang/lib/StaticAnalyzer/Checkers/ValistChecker.cpp
  300         *BT_leakedvalist, OS.str(), N, LocUsedForUniqueing,
tools/clang/lib/StaticAnalyzer/Checkers/VforkChecker.cpp
  135     auto Report = std::make_unique<PathSensitiveBugReport>(*BT, os.str(), N);
tools/clang/lib/StaticAnalyzer/Checkers/VirtualCallChecker.cpp
  149   auto Report = std::make_unique<PathSensitiveBugReport>(*BT, OS.str(), N);
tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp
 3180         PD.appendToDesc(os.str());
tools/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
  705   return std::make_shared<PathDiagnosticEventPiece>(L, os.str());
 1118     auto EventPiece = std::make_shared<PathDiagnosticEventPiece>(L, Out.str());
 1501   if (os.str().empty())
 1520   return std::make_shared<PathDiagnosticEventPiece>(L, os.str());
 1580     if (os.str().empty())
 1590     auto X = std::make_shared<PathDiagnosticEventPiece>(L, os.str());
 2128   return std::make_shared<PathDiagnosticEventPiece>(L, OS.str());
 2496   std::string Message = Out.str();
 2543   auto event = std::make_shared<PathDiagnosticEventPiece>(Loc, Out.str());
 2575     return std::make_shared<PathDiagnosticPopUpPiece>(Loc, Out.str());
 2579   auto event = std::make_shared<PathDiagnosticEventPiece>(Loc, Out.str());
 2617     return std::make_shared<PathDiagnosticPopUpPiece>(Loc, Out.str());
 2619   auto event = std::make_shared<PathDiagnosticEventPiece>(Loc, Out.str());
tools/clang/lib/StaticAnalyzer/Core/MemRegion.cpp
  690       return (llvm::Twine("'") + os.str() + ArrayIndices + "'").str();
  692       return (llvm::Twine(os.str()) + ArrayIndices).str();
tools/clang/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp
  942   return { MacroName, OS.str() };
tools/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
  132               Diag.Report(Loc, RemarkID) << OS.str();
tools/clang/lib/Tooling/Tooling.cpp
  126         << error_stream.str();
tools/clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp
  898       reportError(createStringError(errc::invalid_argument, Msg.str()));
tools/clang/tools/extra/clang-tidy/readability/InconsistentDeclarationParameterNameCheck.cpp
  210   return Str.str().str();
tools/clang/tools/libclang/BuildSystem.cpp
   80   StringRef Data = OS.str();
  142   StringRef Data = OS.str();
tools/clang/tools/libclang/CIndex.cpp
 4484   return cxstring::createDup(os.str());
 4587       return cxstring::createDup(OS.str());
 4968     return cxstring::createDup(OS.str());
 5005     return cxstring::createDup(OS.str());
 5036     return cxstring::createDup(OS.str());
 5050     return cxstring::createDup(OS.str());
tools/clang/tools/libclang/CIndexDiagnostic.cpp
  360   return cxstring::createDup(Out.str());
tools/clang/tools/libclang/CIndexUSRs.cpp
   97   return cxstring::createDup(OS.str());
  107   return cxstring::createDup(OS.str());
  114   return cxstring::createDup(OS.str());
  121   return cxstring::createDup(OS.str());
  129   return cxstring::createDup(OS.str());
  138   return cxstring::createDup(OS.str());
tools/clang/tools/libclang/CXType.cpp
  302   return cxstring::createDup(OS.str());
tools/dsymutil/DwarfStreamer.cpp
  481     MS->EmitBytes(EncodingOS.str());
  562       MS->EmitBytes(EncodingOS.str());
  581       MS->EmitBytes(EncodingOS.str());
  593     MS->EmitBytes(EncodingOS.str());
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryUtils.h
   59     return reinterpret_cast<const uint8_t*>(_ostream.str().data());
tools/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
 4921       triple.setOSName(os.str());
 4958         triple.setOSName(os.str());
tools/lldb/unittests/Utility/LogTest.cpp
  101   llvm::StringRef result = m_stream_sp->str().drop_front(m_consumed_bytes);
tools/llvm-cov/SourceCoverageViewText.cpp
  166   auto Str = BufferOS.str();
tools/llvm-exegesis/lib/BenchmarkRunner.cpp
  109                                 getObjectFromBuffer(OS.str()));
  134     ObjectFile = getObjectFromBuffer(OS.str());
tools/llvm-ifs/llvm-ifs.cpp
  279   Out << OS.str();
  349   std::string YamlStr = OS.str();
tools/llvm-objdump/MachODump.cpp
 7634           StringRef AnnotationsStr = Annotations.str();
 7714           StringRef AnnotationsStr = Annotations.str();
tools/llvm-objdump/llvm-objdump.cpp
  816       OS << left_justify(IS.str(), 60);
 1425         outs() << CommentStream.str();
tools/opt/opt.cpp
  915       Out->os() << BOS->str();
  921     Out->os() << BOS->str();
unittests/DebugInfo/DWARF/DWARFFormValueTest.cpp
   58   DWARFDataExtractor Data(OS.str(), sys::IsLittleEndianHost, sizeof(void *));
   69   DWARFDataExtractor Data(OS.str(), sys::IsLittleEndianHost, sizeof(void *));
unittests/DebugInfo/GSYM/GSYMTest.cpp
  181   TestFunctionInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr,
  184   TestFunctionInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr,
  188   TestFunctionInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr,
  192   TestFunctionInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr,
  196   TestFunctionInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr,
  200   TestFunctionInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr,
  249   std::string Bytes(OutStrm.str());
  325   std::string Bytes(OutStrm.str());
  498   TestInlineInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr,
  503   TestInlineInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr,
  506   TestInlineInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr,
  509   TestInlineInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr,
  512   TestInlineInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr,
  711   std::string Bytes(OutStrm.str());
  747   std::string Bytes(OutStrm.str());
  767   std::string Bytes(OutStrm.str());
  806   std::string Bytes(OutStrm.str());
  893   TestLineTableDecodeError(ByteOrder, OutStrm.str(), BaseAddr,
  896   TestLineTableDecodeError(ByteOrder, OutStrm.str(), BaseAddr,
  899   TestLineTableDecodeError(ByteOrder, OutStrm.str(), BaseAddr,
  902   TestLineTableDecodeError(ByteOrder, OutStrm.str(), BaseAddr,
  906   TestLineTableDecodeError(ByteOrder, OutStrm.str(), BaseAddr,
  911   TestLineTableDecodeError(ByteOrder, OutStrm.str(), BaseAddr,
  916   TestLineTableDecodeError(ByteOrder, OutStrm.str(), BaseAddr,
 1017   TestHeaderDecodeError(OutStrm.str(), "invalid GSYM magic 0x0000000c");
 1020   TestHeaderDecodeError(OutStrm.str(), "unsupported GSYM version 12");
 1023   TestHeaderDecodeError(OutStrm.str(), "invalid address offset size 12");
 1026   TestHeaderDecodeError(OutStrm.str(), "invalid UUID size 128");
 1037   std::string Bytes(OutStrm.str());
 1134   Expected<GsymReader> GR = GsymReader::copyBuffer(OutStrm.str());
 1284   if (auto ExpectedGR = GsymReader::copyBuffer(OutStrm.str())) {
unittests/ObjectYAML/MinidumpYAMLTest.cpp
   27   return object::MinidumpFile::create(MemoryBufferRef(OS.str(), "Binary"));
unittests/ObjectYAML/YAMLTest.cpp
   36   EXPECT_NE(OS.str().find("''"), StringRef::npos);
unittests/Support/raw_ostream_test.cpp
   39   return OS.str().substr(StartIndex);
unittests/Support/raw_pwrite_stream_test.cpp
   37   EXPECT_EQ(Test, OS.str());
unittests/tools/llvm-exegesis/Common/AssemblerUtils.h
   83                               getObjectFromBuffer(AsmStream.str()));
utils/TableGen/CodeGenDAGPatterns.cpp
 3635                OS.str());
utils/TableGen/FixedLenDecoderEmitter.cpp
 1273   unsigned PIdx = getPredicateIndex(TableInfo, PS.str());