| /llvm-project-15.0.7/clang/unittests/Lex/ |
| H A D | DependencyDirectivesScannerTest.cpp | 21 Out.clear(); in minimizeSourceToDependencyDirectives() 27 raw_svector_ostream OS(Out); in minimizeSourceToDependencyDirectives() 29 if (!Out.empty() && Out.back() != '\n') in minimizeSourceToDependencyDirectives() 30 Out.push_back('\n'); in minimizeSourceToDependencyDirectives() 31 Out.push_back('\0'); in minimizeSourceToDependencyDirectives() 32 Out.pop_back(); in minimizeSourceToDependencyDirectives() 47 SmallVector<char, 128> Out; in TEST() local 53 EXPECT_TRUE(Out.empty()); in TEST() 60 EXPECT_TRUE(Out.empty()); in TEST() 771 Out.data()); in TEST() [all …]
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | AsmWriter.cpp | 1628 Out << "}"; in writeMDTuple() 1656 : Out(Out), WriterCtx(Ctx) {} in MDFieldPrinter() 1785 Out << 0; in printDISPFlags() 1823 Out << S; in printDwarfEnum() 1843 Out << ")"; in writeGenericDINode() 1857 Out << ")"; in writeDILocation() 1898 Out << ")"; in writeDISubrange() 1949 Out << ")"; in writeDIGenericSubrange() 1961 Out << ")"; in writeDIEnumerator() 1976 Out << ")"; in writeDIBasicType() [all …]
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | DeclPrinter.cpp | 232 return Out; in Indent() 570 Out << *D; in VisitEnumConstantDecl() 934 Out << ")"; in VisitFileScopeAsmDecl() 950 Out << ")"; in VisitStaticAssertDecl() 1077 Out << '<'; in printTemplateParameters() 1099 Out << '>'; in printTemplateParameters() 1106 Out << "<"; in printTemplateArguments() 1117 Out << ">"; in printTemplateArguments() 1122 Out << "<"; in printTemplateArguments() 1134 Out << ">"; in printTemplateArguments() [all …]
|
| H A D | ItaniumMangle.cpp | 1082 Out << 'W'; in mangleModuleNamePrefix() 1180 Out << 'L'; in mangleFloatLiteral() 1183 Out << 'E'; in mangleFloatLiteral() 1195 Out << 'L'; in mangleNullPointer() 1232 Out << 'v'; in mangleCallOffset() 1234 Out << '_'; in mangleCallOffset() 1236 Out << '_'; in mangleCallOffset() 1710 Out << 'N'; in mangleNestedName() 1730 Out << 'E'; in mangleNestedName() 1737 Out << 'N'; in mangleNestedName() [all …]
|
| H A D | MicrosoftMangle.cpp | 784 Out << "$B"; in mangleVirtualMemPtrThunk() 786 Out << 'A'; in mangleVirtualMemPtrThunk() 799 Out << '@'; in mangleName() 1480 Out << "?$"; in mangleUnscopedTemplateName() 1488 Out << "$"; in mangleIntegerLiteral() 1500 Out << "0"; in mangleIntegerLiteral() 2868 Out << '@'; in mangleArtificialTagType() 2933 Out << 'Y'; in mangleArrayType() 3020 Out << 'A'; in mangleType() 3201 Out << '@'; in mangleType() [all …]
|
| H A D | InheritViz.cpp | 35 raw_ostream &Out; member in __anon810b93cd0111::InheritanceHierarchyWriter 41 : Context(Context), Out(Out) { } in InheritanceHierarchyWriter() 47 Out << "}\n"; in WriteGraph() 75 Out << " "; in WriteNode() 90 Out << " \"];\n"; in WriteNode() 107 Out << " "; in WriteNode() 109 Out << " -> "; in WriteNode() 114 Out << " [ style=\"dashed\" ]"; in WriteNode() 116 Out << ";"; in WriteNode() 130 Out << "_" << DirectBaseCount[CanonType]; in WriteNodeReference() [all …]
|
| H A D | APValue.cpp | 32 Out << "typeid("; in print() 34 Out << ")"; in print() 679 Out << 'L'; in TryPrintAsStringLiteral() 683 Out << 'u'; in TryPrintAsStringLiteral() 685 Out << 'U'; in TryPrintAsStringLiteral() 687 Out << Buf; in TryPrintAsStringLiteral() 725 Out << '{'; in printPretty() 732 Out << '}'; in printPretty() 866 Out << '{'; in printPretty() 881 Out << '}'; in printPretty() [all …]
|
| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | ProgramPoint.cpp | 58 Out << "\"kind\": \""; in printJson() 68 Out << "FunctionExit\"" in printJson() 84 Out << "CallEnter\""; in printJson() 129 Out << '\"'; in printJson() 168 Out << " }"; in printJson() 205 Out << "PreLoad"; in printJson() 207 Out << "PreStore"; in printJson() 213 Out << "PostLoad"; in printJson() 219 Out << "PostStmt"; in printJson() 225 Out << "PreStmt"; in printJson() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/pseudo/tool/ |
| H A D | HTMLForest.cpp | 59 llvm::raw_ostream &Out; member 65 Out << "<!doctype html>\n"; in write() 72 Out << "var forest="; in write() 74 Out << ";"; in write() 102 Out << ' '; in writeCode() 105 Out.indent(T.Indent); in writeCode() 109 Out << "</span>"; in writeCode() 114 Out << '\n'; in writeCode() 135 llvm::json::OStream Out(this->Out, 2); in writeForestJSON() local 136 Out.array([&] { in writeForestJSON() [all …]
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | CheckerRegistryData.cpp | 53 Out << " Options:\n"; in dumpToStream() 55 Out << " "; in dumpToStream() 57 Out << '\n'; in dumpToStream() 72 Out << FullName << "\n"; in dumpToStream() 73 Out << " Options:\n"; in dumpToStream() 75 Out << " "; in dumpToStream() 77 Out << '\n'; in dumpToStream() 127 Out << "CHECKERS:\n"; in printCheckerWithDescList() 145 Out << '\n'; in printCheckerWithDescList() 184 Out << "OPTIONS:\n\n"; in printCheckerOptionList() [all …]
|
| H A D | DynamicType.cpp | 194 return Out << "\"region\": \"" << Region << "\""; in printJson() 204 Out << "\"dyn_type\": "; in printJson() 206 Out << "null"; in printJson() 215 return Out; in printJson() 237 return Out << "null"; in printJsonContainer() 241 Out << '[' << NL; in printJsonContainer() 245 Indent(Out, Space, IsDot) << "{ "; in printJsonContainer() 249 Out << ','; in printJsonContainer() 250 Out << NL; in printJsonContainer() 254 return Indent(Out, Space, IsDot) << "]"; in printJsonContainer() [all …]
|
| /llvm-project-15.0.7/libc/benchmarks/ |
| H A D | JSON.cpp | 37 Out = Value; in intFromJsonTemplate() 45 Out = *B; in fromJson() 53 Out = *S; in fromJson() 61 Out = std::string(*S); in fromJson() 89 Out = None; in fromJson() 93 Out = Align(Value); in fromJson() 117 Out = *Parsed; in fromJson() 126 Out.clear(); in vectorFromJsonTemplate() 127 Out.resize(A->size()); in vectorFromJsonTemplate() 184 O.map("Log", Out.Log); in fromJson() [all …]
|
| /llvm-project-15.0.7/third-party/benchmark/src/ |
| H A D | csv_reporter.cc | 75 Out << *B++; in ReportRuns() 82 Out << "\n"; in ReportRuns() 111 Out << "true,"; in PrintRunData() 118 Out << run.iterations; in PrintRunData() 120 Out << ","; in PrintRunData() 131 Out << ","; in PrintRunData() 136 Out << ","; in PrintRunData() 140 Out << ","; in PrintRunData() 150 Out << ","; in PrintRunData() 152 Out << "," << it->second; in PrintRunData() [all …]
|
| H A D | reporter.cc | 40 auto &Out = *out; in PrintBasicContext() local 42 Out << LocalDateTimeString() << "\n"; in PrintBasicContext() 45 Out << "Running " << context.executable_name << "\n"; in PrintBasicContext() 48 Out << "Run on (" << info.num_cpus << " X " in PrintBasicContext() 52 Out << "CPU Caches:\n"; in PrintBasicContext() 58 Out << "\n"; in PrintBasicContext() 62 Out << "Load Average: "; in PrintBasicContext() 64 Out << StrFormat("%.2f", *It++); in PrintBasicContext() 65 if (It != info.load_avg.end()) Out << ", "; in PrintBasicContext() 67 Out << "\n"; in PrintBasicContext() [all …]
|
| /llvm-project-15.0.7/clang/lib/Index/ |
| H A D | USRGeneration.cpp | 72 Out(Buf), in USRGenerator() 252 Out << '<'; in VisitFunctionDecl() 257 Out << '>'; in VisitFunctionDecl() 262 Out << '#'; in VisitFunctionDecl() 266 Out << '.'; in VisitFunctionDecl() 273 Out << '#'; in VisitFunctionDecl() 276 Out << '#'; in VisitFunctionDecl() 293 Out << "@"; in VisitNamedDecl() 338 Out << '>'; in VisitVarDecl() 545 Out << '@'; in VisitTagDecl() [all …]
|
| /llvm-project-15.0.7/clang/utils/TableGen/ |
| H A D | ClangASTPropertiesEmitter.cpp | 90 raw_ostream &Out; member in __anon1f677fe90111::ASTPropsEmitter 527 Out << " "; in emitReadOfProperty() 534 Out << " = "; in emitReadOfProperty() 536 Out << ";\n" in emitReadOfProperty() 544 Out << "("; in emitReadOfProperty() 548 Out << ")"; in emitReadOfProperty() 551 Out << ";\n"; in emitReadOfProperty() 553 Out << ");\n" in emitReadOfProperty() 577 Out << " "; in emitWriteOfProperty() 668 Out << "\n"; in emitDispatcherTemplate() [all …]
|
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | ASTConsumers.cpp | 40 : Out(Out ? *Out : llvm::outs()), OwnedOut(std::move(Out)), in ASTPrinter() 57 bool ShowColors = Out.has_colors(); in TraverseDecl() 66 Out.resetColor(); in TraverseDecl() 68 Out << "\n"; in TraverseDecl() 93 Out << "Not a DeclContext\n"; in print() 115 raw_ostream &Out; member in __anonba0982200111::ASTPrinter 140 : Out(Out ? *Out : llvm::outs()) {} in ASTDeclNodeLister() 149 D->printQualifiedName(Out); in VisitNamedDecl() 150 Out << '\n'; in VisitNamedDecl() 155 raw_ostream &Out; member in __anonba0982200111::ASTDeclNodeLister [all …]
|
| /llvm-project-15.0.7/clang/lib/Lex/ |
| H A D | MacroInfo.cpp | 167 Out << "("; in dump() 169 if (I) Out << ", "; in dump() 174 Out << "..."; in dump() 176 Out << ")"; in dump() 184 Out << " "; in dump() 188 Out << Punc; in dump() 192 Out << II->getName(); in dump() 194 Out << Tok.getName(); in dump() 241 Out << " " << this; in dump() 252 Out << "\n "; in dump() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Object/ |
| H A D | ArchiveWriter.cpp | 206 Out << "`\n"; in printRestOfMemberHeader() 229 Out << Name; in printBSDMemberHeader() 289 Out << '/'; in printMemberHeader() 322 Out << "`\n"; in computeStringTable() 323 Out.flush(); in computeStringTable() 439 Out << StringTable; in writeSymbolTable() 595 Out.flush(); in computeMemberData() 781 Out, 0, in writeArchiveToStream() 789 Out, 0, in writeArchiveToStream() 795 Out << '\0'; in writeArchiveToStream() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/re/re.alg/re.alg.replace/ |
| H A D | test2.pass.cpp | 32 typedef cpp17_output_iterator<char*> Out; in main() typedef 35 Out r = std::regex_replace(Out(buf), Bi(std::begin(phone_book)), in main() 44 typedef cpp17_output_iterator<char*> Out; in main() typedef 47 Out r = std::regex_replace(Out(buf), Bi(std::begin(phone_book)), in main() 57 typedef cpp17_output_iterator<char*> Out; in main() typedef 60 Out r = std::regex_replace(Out(buf), Bi(std::begin(phone_book)), in main() 70 typedef cpp17_output_iterator<char*> Out; in main() typedef 73 Out r = std::regex_replace(Out(buf), Bi(std::begin(phone_book)), in main() 83 typedef cpp17_output_iterator<char*> Out; in main() typedef 86 Out r = std::regex_replace(Out(buf), Bi(std::begin(phone_book)), in main() [all …]
|
| H A D | test1.pass.cpp | 32 typedef cpp17_output_iterator<char*> Out; in main() typedef 35 Out r = std::regex_replace(Out(buf), Bi(std::begin(phone_book)), in main() 44 typedef cpp17_output_iterator<char*> Out; in main() typedef 47 Out r = std::regex_replace(Out(buf), Bi(std::begin(phone_book)), in main() 57 typedef cpp17_output_iterator<char*> Out; in main() typedef 60 Out r = std::regex_replace(Out(buf), Bi(std::begin(phone_book)), in main() 70 typedef cpp17_output_iterator<char*> Out; in main() typedef 73 Out r = std::regex_replace(Out(buf), Bi(std::begin(phone_book)), in main() 83 typedef cpp17_output_iterator<char*> Out; in main() typedef 86 Out r = std::regex_replace(Out(buf), Bi(std::begin(phone_book)), in main() [all …]
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/ |
| H A D | UninitializedPointee.cpp | 39 Out << "uninitialized pointee "; in printNoteMsg() 41 Out << "uninitialized pointer "; in printNoteMsg() 47 Out << getVariableName(getDecl()); in printNode() 52 Out << "->"; in printSeparator() 54 Out << '.'; in printSeparator() 68 Out << "uninitialized pointee "; in printNoteMsg() 74 Out << "reinterpret_cast"; in printPrefix() 77 Out << "static_cast"; in printPrefix() 85 void printSeparator(llvm::raw_ostream &Out) const override { Out << "->"; } in printSeparator() 95 Out << "object references itself "; in printNoteMsg() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/ |
| H A D | ranges.copy_n.pass.cpp | 27 template <class In, class Out = In, class Count = size_t> 42 template <class In, class Out, class Sent = In> 47 std::same_as<std::ranges::in_out_result<In, Out>> auto ret = in test_iterators() 63 template <class Out> 66 test_iterators<forward_iterator<int*>, Out>(); in test_in_iterators() 67 test_iterators<bidirectional_iterator<int*>, Out>(); in test_in_iterators() 68 test_iterators<random_access_iterator<int*>, Out>(); in test_in_iterators() 69 test_iterators<contiguous_iterator<int*>, Out>(); in test_in_iterators() 72 template <class Out> 75 test_iterators<ProxyIterator<forward_iterator<int*>>, Out>(); in test_proxy_in_iterators() [all …]
|
| H A D | ranges.copy.pass.cpp | 42 template <class Range, class Out> 56 template <class In, class Out, class Sent = In> 72 …std::same_as<std::ranges::in_out_result<In, Out>> auto ret = std::ranges::copy(range, Out(out.data… in test_iterators() 98 template <class In, class Out> 100 test_iterators<In, Out>(); in test_sentinels() 101 test_iterators<In, Out, sized_sentinel<In>>(); in test_sentinels() 102 test_iterators<In, Out, sentinel_wrapper<In>>(); in test_sentinels() 105 template <class Out> 108 test_sentinels<forward_iterator<int*>, Out>(); in test_in_iterators() 111 test_sentinels<contiguous_iterator<int*>, Out>(); in test_in_iterators() [all …]
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | JsonSupport.h | 21 inline raw_ostream &Indent(raw_ostream &Out, const unsigned int Space, in Indent() argument 24 Out << (IsDot ? " " : " "); in Indent() 25 return Out; in Indent() 87 Out << "null"; 95 Out << "null"; 100 Out << "{ "; 115 Out << "\"line\": " << PLoc.getLine() 119 Out << " }"; 126 Out << "{ "; 128 Out << ", \"spelling\": "; [all …]
|