/llvm-project/llvm/unittests/Support/ |
H A D | CommandLineTest.cpp | 518 std::string Errs; in TEST() local 519 raw_string_ostream OS(Errs); in TEST() 523 EXPECT_FALSE(Errs.empty()); in TEST() 558 // print the error message to stderr and exit in this setting (`Errs` ostream in TEST() 596 std::string Errs; in TEST() 597 raw_string_ostream OS(Errs); in TEST() local 618 EXPECT_TRUE(Errs.empty()); in TEST() 652 std::string Errs; in TEST() 653 raw_string_ostream OS(Errs); in TEST() 658 EXPECT_TRUE(Errs in TEST() 654 std::string Errs; TEST() local 1278 std::string Errs; TEST() local 1865 std::string Errs; TEST() local 1940 std::string Errs; TEST() local 1968 std::string Errs; TEST() local 1991 std::string Errs; TEST() local 2082 std::string Errs; TEST() local 2105 std::string Errs; TEST() local 2135 std::string Errs; TEST() local 2169 std::string Errs; TEST() local 2260 std::string Errs; TEST() local [all...] |
/llvm-project/llvm/lib/ObjCopy/COFF/ |
H A D | COFFObject.cpp | 38 Error Errs = Error::success(); in removeSymbols() 39 llvm::erase_if(Symbols, [ToRemove, &Errs](const Symbol &Sym) { in removeSymbols() local 42 Errs = joinErrors(std::move(Errs), ShouldRemove.takeError()); in removeSymbols() 49 return Errs; in removeSymbols()
|
/llvm-project/clang/test/Parser/ |
H A D | cxx-member-initializers.cpp | 76 struct Errs : X<0> { struct 77 Errs(X<0>) : decltype X<0>() {} // expected-error {{expected '(' after 'decltype'}} in Errs() function 78 Errs(X<1>) : what is this () {} // expected-error {{expected '(' or '{'}} in Errs() function 79 Errs(X<2>) : decltype(X<0> // expected-note {{to match this '('}}
|
/llvm-project/clang/tools/clang-scan-deps/ |
H A D | ClangScanDeps.cpp | 321 SharedStream &OS, SharedStream &Errs) { in handleMakeDependencyToolResult() 324 MaybeFile.takeError(), [&Input, &Errs](llvm::StringError &Err) { in handleMakeDependencyToolResult() 325 Errs.applyLocked([&](raw_ostream &OS) { in handleMakeDependencyToolResult() 573 FullDeps &FD, size_t InputIndex, SharedStream &OS, SharedStream &Errs) { in handleModuleResult() 576 MaybeTUDeps.takeError(), [&Input, &Errs](llvm::StringError &Err) { in handleModuleResult() 577 Errs.applyLocked([&](raw_ostream &OS) { in handleModuleResult() 590 FullDeps &FD, size_t InputIndex, SharedStream &OS, SharedStream &Errs) { 593 [&ModuleName, &Errs](llvm::StringError &Err) { in printDependencies() 594 Errs.applyLocked([&](raw_ostream &OS) { in printDependencies() 677 P1689Deps &PD, SharedStream &Errs) { in constructPCMPath() 316 handleMakeDependencyToolResult(const std::string & Input,llvm::Expected<std::string> & MaybeFile,SharedStream & OS,SharedStream & Errs) handleMakeDependencyToolResult() argument 557 handleTranslationUnitResult(StringRef Input,llvm::Expected<TranslationUnitDeps> & MaybeTUDeps,FullDeps & FD,size_t InputIndex,SharedStream & OS,SharedStream & Errs) handleTranslationUnitResult() argument 574 handleModuleResult(StringRef ModuleName,llvm::Expected<ModuleDepsGraph> & MaybeModuleGraph,FullDeps & FD,size_t InputIndex,SharedStream & OS,SharedStream & Errs) handleModuleResult() argument 661 handleP1689DependencyToolResult(const std::string & Input,llvm::Expected<P1689Rule> & MaybeRule,P1689Deps & PD,SharedStream & Errs) handleP1689DependencyToolResult() argument 878 SharedStream Errs(llvm::errs()); clang_scan_deps_main() local [all...] |
/llvm-project/llvm/lib/Support/ |
H A D | InitLLVM.cpp | 25 llvm::raw_ostream *Outs = &llvm::outs(), *Errs = &llvm::errs(); 27 Errs->flush(); in CleanupStdHandles() local
|
H A D | CommandLine.cpp | 172 StringRef Overview, raw_ostream *Errs = nullptr, 1445 StringRef Overview, raw_ostream *Errs, in ParseCommandLineOptions() 1468 Errs, LongOptionsUseDoubleDash); in ResetAllOptionOccurrences() 1491 raw_ostream *Errs, in ParseCommandLineOptions() 1496 bool IgnoreErrors = Errs; in ParseCommandLineOptions() 1497 if (!Errs) in ParseCommandLineOptions() 1498 Errs = &errs(); in ParseCommandLineOptions() 1511 *Errs << toString(std::move(Err)) << '\n'; in ParseCommandLineOptions() 1583 *Errs << ProgramName << ": CommandLine Error: Option '" << Opt->ArgStr in ParseCommandLineOptions() 1585 *Errs << PositionalOpt in ParseCommandLineOptions() 1429 ParseCommandLineOptions(int argc,const char * const * argv,StringRef Overview,raw_ostream * Errs,const char * EnvVar,bool LongOptionsUseDoubleDash) ParseCommandLineOptions() argument 1475 ParseCommandLineOptions(int argc,const char * const * argv,StringRef Overview,raw_ostream * Errs,bool LongOptionsUseDoubleDash) ParseCommandLineOptions() argument 1835 error(const Twine & Message,StringRef ArgName,raw_ostream & Errs) error() argument [all...] |
/llvm-project/clang/tools/clang-repl/ |
H A D | ClangRepl.cpp | 70 unsigned Errs = CI->getDiagnostics().getClient()->getNumErrors(); in checkDiagErrors() local 76 Errs = Client->getNumErrors(); in checkDiagErrors() 81 return (Errs || HasError) ? EXIT_FAILURE : EXIT_SUCCESS; in checkDiagErrors()
|
/llvm-project/llvm/lib/FileCheck/ |
H A D | FileCheck.cpp | 1108 Error Errs = Error::success(); in match() local 1116 Errs = joinErrors(std::move(Errs), in match() 1137 if (Errs) in match() 1138 return std::move(Errs); in match() 2524 Error Errs = Error::success(); in defineCmdlineVariables() 2565 Errs = joinErrors( in defineCmdlineVariables() 2566 std::move(Errs), in defineCmdlineVariables() 2583 Errs = joinErrors(std::move(Errs), ExpressionResul in defineCmdlineVariables() 2525 Error Errs = Error::success(); defineCmdlineVariables() local [all...] |
/llvm-project/llvm/unittests/DebugInfo/DWARF/ |
H A D | DWARFDebugLineTest.cpp | 568 std::vector<std::string> Errs; local 569 Errs.emplace_back( 575 Errs.emplace_back("file names table was not null terminated before the end " 578 Errs.emplace_back( 582 FailedWithMessageArray(testing::ElementsAreArray(Errs)));
|
/llvm-project/clang/lib/AST/ |
H A D | Type.cpp | 5285 Conflicts &Errs) { in getIntersection() local 5306 Errs.push_back({EC, NewEC}); in getIntersection() 5327 bool FunctionEffectSet::insert(const FunctionEffectsRef &Set, Conflicts &Errs) { in getUnion() 5329 insert(Item, Errs); in getUnion() 5330 return Errs.empty(); in getUnion() 5336 FunctionEffectSet::Conflicts Errs; in dump() 5358 Result.insert(A, Errs); in get() 5366 assert(Errs.empty() && "conflict shouldn't be possible in getIntersection"); 5373 Conflicts &Errs) { in create() 5379 Combined.insert(RHS, Errs); in description() 5234 insert(const FunctionEffectWithCondition & NewEC,Conflicts & Errs) insert() argument 5276 insert(const FunctionEffectsRef & Set,Conflicts & Errs) insert() argument 5322 getUnion(FunctionEffectsRef LHS,FunctionEffectsRef RHS,Conflicts & Errs) getUnion() argument [all...] |
H A D | ASTContext.cpp | 11276 FunctionEffectSet::Conflicts Errs; in getCorrespondingUnsignedType() 11277 MergedFX = FunctionEffectSet::getUnion(LHSFX, RHSFX, Errs); in getCorrespondingUnsignedType() 10591 FunctionEffectSet::Conflicts Errs; mergeFunctionTypes() local
|
/llvm-project/llvm/include/llvm/Support/ |
H A D | CommandLine.h | 70 raw_ostream *Errs = nullptr, 394 …bool error(const Twine &Message, StringRef ArgName = StringRef(), raw_ostream &Errs = llvm::errs()… 395 bool error(const Twine &Message, raw_ostream &Errs) { in error() argument 396 return error(Message, StringRef(), Errs); in error()
|
/llvm-project/clang/include/clang/AST/ |
H A D | Type.h | 5079 // Returns true for success (obviating a check of Errs.empty()). 5080 bool insert(const FunctionEffectWithCondition &NewEC, Conflicts &Errs); 5082 // Returns true for success (obviating a check of Errs.empty()). 5083 bool insert(const FunctionEffectsRef &Set, Conflicts &Errs); 5088 FunctionEffectsRef RHS, Conflicts &Errs);
|
/llvm-project/clang/lib/Sema/ |
H A D | SemaDeclCXX.cpp | 18272 FunctionEffectSet::Conflicts Errs; in ActOnPureSpecifier() 18284 NewFX.insert(Diff.Old.value(), Errs); in ActOnCXXEnterDeclInitializer() 18295 if (!Errs.empty()) 18296 diagnoseFunctionEffectMergeConflicts(Errs, New->getLocation(), in ActOnCXXExitDeclInitializer() 18082 FunctionEffectSet::Conflicts Errs; CheckOverridingFunctionAttributes() local
|
H A D | SemaType.cpp | 7718 FunctionEffectSet::Conflicts Errs; in handleFunctionTypeAttr() 7719 [[maybe_unused]] bool Success = FX.insert(NewEC, Errs); in handleFunctionTypeAttr() 7527 FunctionEffectSet::Conflicts Errs; handleNonBlockingNonAllocatingTypeAttr() local
|
H A D | TreeTransform.h | 6477 FunctionEffectSet::Conflicts Errs; in TransformUnresolvedUsingType() 6478 NewFX->insert(NewEC, Errs); in TransformUnresolvedUsingType() 6479 assert(Errs.empty()); in TransformUnresolvedUsingType() 6310 FunctionEffectSet::Conflicts Errs; TransformFunctionProtoType() local
|
H A D | SemaDecl.cpp | 20209 diagnoseFunctionEffectMergeConflicts(const FunctionEffectSet::Conflicts & Errs,SourceLocation NewLoc,SourceLocation OldLoc) diagnoseFunctionEffectMergeConflicts() argument
|
/llvm-project/clang/include/clang/Sema/ |
H A D | Sema.h | 15197 diagnoseFunctionEffectMergeConflicts(const FunctionEffectSet::Conflicts &Errs,
|