/external/llvm-project/llvm/unittests/Support/ |
D | CommandLineTest.cpp | 480 std::string Errs; in TEST() local 481 raw_string_ostream OS(Errs); in TEST() 486 EXPECT_FALSE(Errs.empty()); in TEST() 501 std::string Errs; in TEST() local 502 raw_string_ostream OS(Errs); in TEST() 524 EXPECT_TRUE(Errs.empty()); in TEST() 558 std::string Errs; in TEST() local 559 raw_string_ostream OS(Errs); in TEST() 565 EXPECT_TRUE(Errs.empty()); in TEST() 572 EXPECT_FALSE(Errs.empty()); in TEST() [all …]
|
/external/llvm-project/clang/test/Parser/ |
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() argument 79 Errs(X<2>) : decltype(X<0> // expected-note {{to match this '('}}
|
/external/clang/test/Parser/ |
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() argument 78 Errs(X<1>) : what is this () {} // expected-error {{expected '(' or '{'}} in Errs() argument 79 Errs(X<2>) : decltype(X<0> // expected-note {{to match this '('}}
|
/external/llvm-project/llvm/tools/llvm-objcopy/COFF/ |
D | Object.cpp | 42 Error Errs = Error::success(); in removeSymbols() local 44 [ToRemove, &Errs](const Symbol &Sym) { in removeSymbols() 47 Errs = joinErrors(std::move(Errs), in removeSymbols() 56 return Errs; in removeSymbols()
|
/external/llvm-project/clang/tools/clang-scan-deps/ |
D | ClangScanDeps.cpp | 202 SharedStream &OS, SharedStream &Errs) { in handleMakeDependencyToolResult() argument 205 MaybeFile.takeError(), [&Input, &Errs](llvm::StringError &Err) { in handleMakeDependencyToolResult() 206 Errs.applyLocked([&](raw_ostream &OS) { in handleMakeDependencyToolResult() 378 size_t InputIndex, SharedStream &OS, SharedStream &Errs) { in handleFullDependencyToolResult() argument 381 MaybeFullDeps.takeError(), [&Input, &Errs](llvm::StringError &Err) { in handleFullDependencyToolResult() 382 Errs.applyLocked([&](raw_ostream &OS) { in handleFullDependencyToolResult() 483 SharedStream Errs(llvm::errs()); in main() local 510 &DependencyOS, &Errs]() { in main() 532 Errs)) in main() 538 LocalIndex, DependencyOS, Errs)) in main()
|
/external/llvm-project/llvm/lib/Support/ |
D | CommandLine.cpp | 175 StringRef Overview, raw_ostream *Errs = nullptr, 1291 StringRef Overview, raw_ostream *Errs, in ParseCommandLineOptions() argument 1313 Errs, LongOptionsUseDoubleDash); in ParseCommandLineOptions() 1328 raw_ostream *Errs, in ParseCommandLineOptions() argument 1347 bool IgnoreErrors = Errs; in ParseCommandLineOptions() 1348 if (!Errs) in ParseCommandLineOptions() 1349 Errs = &errs(); in ParseCommandLineOptions() 1411 *Errs << ProgramName << ": CommandLine Error: Option '" << Opt->ArgStr in ParseCommandLineOptions() 1413 *Errs << PositionalOpts.size(); in ParseCommandLineOptions() 1514 *Errs << ProgramName << ": Unknown command line argument '" << argv[i] in ParseCommandLineOptions() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | CommandLine.cpp | 175 StringRef Overview, raw_ostream *Errs = nullptr, 1274 StringRef Overview, raw_ostream *Errs, in ParseCommandLineOptions() argument 1296 Errs, LongOptionsUseDoubleDash); in ParseCommandLineOptions() 1311 raw_ostream *Errs, in ParseCommandLineOptions() argument 1330 bool IgnoreErrors = Errs; in ParseCommandLineOptions() 1331 if (!Errs) in ParseCommandLineOptions() 1332 Errs = &errs(); in ParseCommandLineOptions() 1394 *Errs << ProgramName << ": CommandLine Error: Option '" << Opt->ArgStr in ParseCommandLineOptions() 1396 *Errs << PositionalOpts.size(); in ParseCommandLineOptions() 1497 *Errs << ProgramName << ": Unknown command line argument '" << argv[i] in ParseCommandLineOptions() [all …]
|
D | FileCheck.cpp | 1764 Error Errs = Error::success(); in defineCmdlineVariables() local 1805 Errs = joinErrors( in defineCmdlineVariables() 1806 std::move(Errs), in defineCmdlineVariables() 1822 Errs = joinErrors(std::move(Errs), ExpressionASTResult.takeError()); in defineCmdlineVariables() 1833 Errs = joinErrors(std::move(Errs), Value.takeError()); in defineCmdlineVariables() 1851 Errs = joinErrors(std::move(Errs), ParseVarResult.takeError()); in defineCmdlineVariables() 1858 Errs = joinErrors(std::move(Errs), in defineCmdlineVariables() 1871 Errs = joinErrors(std::move(Errs), in defineCmdlineVariables() 1888 return Errs; in defineCmdlineVariables()
|
/external/llvm-project/llvm/lib/FileCheck/ |
D | FileCheck.cpp | 2501 Error Errs = Error::success(); in defineCmdlineVariables() local 2542 Errs = joinErrors( in defineCmdlineVariables() 2543 std::move(Errs), in defineCmdlineVariables() 2559 Errs = joinErrors(std::move(Errs), ExpressionResult.takeError()); in defineCmdlineVariables() 2569 Errs = joinErrors(std::move(Errs), Value.takeError()); in defineCmdlineVariables() 2587 Errs = joinErrors(std::move(Errs), ParseVarResult.takeError()); in defineCmdlineVariables() 2594 Errs = joinErrors(std::move(Errs), in defineCmdlineVariables() 2607 Errs = joinErrors(std::move(Errs), in defineCmdlineVariables() 2624 return Errs; in defineCmdlineVariables()
|
/external/llvm-project/llvm/unittests/DebugInfo/DWARF/ |
D | DWARFDebugLineTest.cpp | 463 std::vector<std::string> Errs; in TEST_P() local 464 Errs.emplace_back( in TEST_P() 470 Errs.emplace_back("file names table was not null terminated before the end " in TEST_P() 473 Errs.emplace_back( in TEST_P() 477 FailedWithMessageArray(testing::ElementsAreArray(Errs))); in TEST_P()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | CommandLine.h | 71 raw_ostream *Errs = nullptr, 391 …bool error(const Twine &Message, StringRef ArgName = StringRef(), raw_ostream &Errs = llvm::errs()… 392 bool error(const Twine &Message, raw_ostream &Errs) { in error() argument 393 return error(Message, StringRef(), Errs); in error()
|
/external/llvm-project/llvm/include/llvm/Support/ |
D | CommandLine.h | 70 raw_ostream *Errs = nullptr, 383 …bool error(const Twine &Message, StringRef ArgName = StringRef(), raw_ostream &Errs = llvm::errs()… 384 bool error(const Twine &Message, raw_ostream &Errs) { in error() argument 385 return error(Message, StringRef(), Errs); in error()
|