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

References

lib/Testing/Support/SupportHelpers.cpp
   41   EXPECT_TRUE(Found) << "Unit test source directory file does not exist.";
   46       << "Could not open unit test source directory file.";
tools/clang/tools/extra/clangd/unittests/BackgroundIndexTests.cpp
   72       ADD_FAILURE() << "Error while reading " << ShardIdentifier << ':'
   72       ADD_FAILURE() << "Error while reading " << ShardIdentifier << ':'
   72       ADD_FAILURE() << "Error while reading " << ShardIdentifier << ':'
   73                     << IndexFile.takeError();
  462     EXPECT_FALSE(AbsPath.contains("./")) << AbsPath;
  463     EXPECT_FALSE(AbsPath.contains("../")) << AbsPath;
  695     EXPECT_EQ("BA", Sequence) << "priority order";
  703     EXPECT_EQ("AB", Sequence) << "A was boosted before enqueueing";
  711     EXPECT_EQ("AB", Sequence) << "A was boosted after enqueueing";
tools/clang/tools/extra/clangd/unittests/ClangdTests.cpp
  154     EXPECT_TRUE(Server.blockUntilIdleForTest()) << "Waiting for diagnostics";
  213   ASSERT_TRUE(Server.blockUntilIdleForTest()) << "Waiting for diagnostics";
  218   ASSERT_TRUE(Server.blockUntilIdleForTest()) << "Waiting for diagnostics";
  223   ASSERT_TRUE(Server.blockUntilIdleForTest()) << "Waiting for diagnostics";
  249   ASSERT_TRUE(Server.blockUntilIdleForTest()) << "Waiting for diagnostics";
  255   ASSERT_TRUE(Server.blockUntilIdleForTest()) << "Waiting for diagnostics";
  261   ASSERT_TRUE(Server.blockUntilIdleForTest()) << "Waiting for diagnostics";
  543   ASSERT_TRUE(bool(SigHelp)) << "signatureHelp returned an error";
  780           << "Detected concurrent onDiagnosticsReady calls for the same file.";
  825   ASSERT_TRUE(Server.blockUntilIdleForTest()) << "Waiting for diagnostics";
  980   EXPECT_TRUE(Server.blockUntilIdleForTest()) << "Waiting for diagnostics";
tools/clang/tools/extra/clangd/unittests/CodeCompleteTests.cpp
 1151         << "Test source:" << Test;
 1151         << "Test source:" << Test;
 2125     EXPECT_EQ(WantQualifier, Prefix.Qualifier) << Case;
 2126     EXPECT_EQ(WantQualifier.begin(), Prefix.Qualifier.begin()) << Case;
 2127     EXPECT_EQ(WantName, Prefix.Name) << Case;
 2128     EXPECT_EQ(WantName.begin(), Prefix.Name.begin()) << Case;
tools/clang/tools/extra/clangd/unittests/DexTests.cpp
  527   EXPECT_FALSE(Incomplete) << "Empty string is not a short query";
  531   EXPECT_TRUE(Incomplete) << "Short queries have different semantics";
  535   EXPECT_TRUE(Incomplete) << "Short queries have different semantics";
  539   EXPECT_FALSE(Incomplete) << "3-char string is not a short query";
tools/clang/tools/extra/clangd/unittests/DraftStoreTests.cpp
   82   ASSERT_TRUE(!!Result) << llvm::toString(Result.takeError());
tools/clang/tools/extra/clangd/unittests/FileIndexTests.cpp
  294         EXPECT_FALSE(IndexUpdated) << "Expected only a single index update";
tools/clang/tools/extra/clangd/unittests/FindSymbolsTests.cpp
   74     EXPECT_TRUE(Server.blockUntilIdleForTest()) << "Waiting for preamble";
   76     EXPECT_TRUE(bool(SymbolInfos)) << "workspaceSymbols returned an error";
  332     EXPECT_TRUE(Server.blockUntilIdleForTest()) << "Waiting for preamble";
  334     EXPECT_TRUE(bool(SymbolInfos)) << "documentSymbols returned an error";
tools/clang/tools/extra/clangd/unittests/FindTargetTests.cpp
   78     EXPECT_THAT(AST.getDiagnostics(), ::testing::IsEmpty()) << Code;
   84       ADD_FAILURE() << "No node selected!\n" << Code;
   84       ADD_FAILURE() << "No node selected!\n" << Code;
   87     EXPECT_EQ(N->kind(), NodeType) << Selection;
  894     EXPECT_EQ(ExpectedRefs, Actual.DumpedReferences) << ExpectedCode;
tools/clang/tools/extra/clangd/unittests/FormatTests.cpp
   33       ADD_FAILURE() << llvm::toString(std::move(E));
   36       << "Bad replacements: " << llvm::toString(NewCode.takeError());
   36       << "Bad replacements: " << llvm::toString(NewCode.takeError());
tools/clang/tools/extra/clangd/unittests/GlobalCompilationDatabaseTests.cpp
  209           << "Failed to create unique directory";
  214           << "Failed to cleanup " << Root;
  214           << "Failed to cleanup " << Root;
  223           << "Failed to create directories for: " << AbsPath;
  223           << "Failed to create directories for: " << AbsPath;
  227       EXPECT_FALSE(EC) << "Failed to open " << AbsPath << " for writing";
  227       EXPECT_FALSE(EC) << "Failed to open " << AbsPath << " for writing";
  227       EXPECT_FALSE(EC) << "Failed to open " << AbsPath << " for writing";
tools/clang/tools/extra/clangd/unittests/JSONTransportTests.cpp
  109   EXPECT_FALSE(bool(Err)) << toString(std::move(Err));
  150   EXPECT_FALSE(bool(Err)) << toString(std::move(Err));
tools/clang/tools/extra/clangd/unittests/QualityTests.cpp
  130       << "Decl in current file";
  133   EXPECT_FLOAT_EQ(Relevance.SemaFileProximityScore, 0.6f) << "Decl from header";
  137       << "Current file and header";
  156       << "Using declaration in main file";
  159       << "Using declaration in main file";
  275       << IndexProximate << IndexDistant;
  275       << IndexProximate << IndexDistant;
tools/clang/tools/extra/clangd/unittests/RIFFTests.cpp
   31   ASSERT_TRUE(bool(Parsed)) << Parsed.takeError();
tools/clang/tools/extra/clangd/unittests/RenameTests.cpp
   84     ASSERT_TRUE(bool(RenameResult)) << RenameResult.takeError();
   87     ASSERT_TRUE(bool(ApplyResult)) << ApplyResult.takeError();
  187       EXPECT_FALSE(Results) << "expected renameWithinFile returned an error: "
  188                             << T.code();
  192       EXPECT_TRUE(bool(Results)) << "renameWithinFile returned an error: "
  193                                  << llvm::toString(Results.takeError());
tools/clang/tools/extra/clangd/unittests/SelectionTests.cpp
   34     ADD_FAILURE() << "Expected 1-2 points for selection.\n" << MarkedCode;
   34     ADD_FAILURE() << "Expected 1-2 points for selection.\n" << MarkedCode;
   76     ADD_FAILURE() << "Selected nodes outside common ancestor\n" << MarkedCode;
   76     ADD_FAILURE() << "Selected nodes outside common ancestor\n" << MarkedCode;
   81         ADD_FAILURE() << "Saw common ancestor twice\n" << MarkedCode;
   81         ADD_FAILURE() << "Saw common ancestor twice\n" << MarkedCode;
  306       EXPECT_FALSE(T.commonAncestor()) << C.Code << "\n" << T;
  306       EXPECT_FALSE(T.commonAncestor()) << C.Code << "\n" << T;
  311           << C.Code << "\n"
  312           << T;
  315           << C.Code << "\n"
  316           << T;
  331   ASSERT_EQ("CXXRecordDecl", nodeKind(T.commonAncestor())) << T;
  413   EXPECT_EQ("StringLiteral", nodeKind(Str)) << "Implicit selected?";
  417       << "Didn't unwrap " << nodeKind(&Str->Parent->Parent->ignoreImplicit());
  417       << "Didn't unwrap " << nodeKind(&Str->Parent->Parent->ignoreImplicit());
tools/clang/tools/extra/clangd/unittests/SemanticHighlightingTests.cpp
  149       << OldCode;
  637   ASSERT_TRUE(Server.blockUntilIdleForTest()) << "Waiting for server";
tools/clang/tools/extra/clangd/unittests/SemanticSelectionTests.cpp
  176       << "getSemanticRange returned an error: " << Ranges.takeError();
  176       << "getSemanticRange returned an error: " << Ranges.takeError();
tools/clang/tools/extra/clangd/unittests/SerializationTests.cpp
  108   EXPECT_TRUE(bool(In)) << In.takeError();
  111   ASSERT_TRUE(bool(ParsedYAML)) << ParsedYAML.takeError();
  182   EXPECT_TRUE(bool(In)) << In.takeError();
  190   ASSERT_TRUE(bool(In2)) << In.takeError();
  206   EXPECT_TRUE(bool(In)) << In.takeError();
  225     ASSERT_TRUE(bool(In)) << In.takeError();
  245   EXPECT_TRUE(bool(In)) << In.takeError();
  262     ASSERT_TRUE(bool(In)) << In.takeError();
tools/clang/tools/extra/clangd/unittests/SourceCodeTests.cpp
  228   EXPECT_THAT(offsetToPosition(File, 0), Pos(0, 0)) << "start of file";
  229   EXPECT_THAT(offsetToPosition(File, 3), Pos(0, 3)) << "in first line";
  230   EXPECT_THAT(offsetToPosition(File, 6), Pos(0, 6)) << "end of first line";
  231   EXPECT_THAT(offsetToPosition(File, 7), Pos(0, 7)) << "first newline";
  232   EXPECT_THAT(offsetToPosition(File, 8), Pos(1, 0)) << "start of second line";
  233   EXPECT_THAT(offsetToPosition(File, 12), Pos(1, 4)) << "before BMP char";
  234   EXPECT_THAT(offsetToPosition(File, 13), Pos(1, 5)) << "in BMP char";
  235   EXPECT_THAT(offsetToPosition(File, 15), Pos(1, 5)) << "after BMP char";
  236   EXPECT_THAT(offsetToPosition(File, 16), Pos(1, 6)) << "end of second line";
  237   EXPECT_THAT(offsetToPosition(File, 17), Pos(1, 7)) << "second newline";
  238   EXPECT_THAT(offsetToPosition(File, 18), Pos(2, 0)) << "start of last line";
  239   EXPECT_THAT(offsetToPosition(File, 21), Pos(2, 3)) << "in last line";
  240   EXPECT_THAT(offsetToPosition(File, 22), Pos(2, 4)) << "before astral char";
  241   EXPECT_THAT(offsetToPosition(File, 24), Pos(2, 6)) << "in astral char";
  242   EXPECT_THAT(offsetToPosition(File, 26), Pos(2, 6)) << "after astral char";
  243   EXPECT_THAT(offsetToPosition(File, 28), Pos(2, 8)) << "end of last line";
  244   EXPECT_THAT(offsetToPosition(File, 29), Pos(2, 9)) << "EOF";
  245   EXPECT_THAT(offsetToPosition(File, 30), Pos(2, 9)) << "out of bounds";
  249   EXPECT_THAT(offsetToPosition(File, 0), Pos(0, 0)) << "start of file";
  250   EXPECT_THAT(offsetToPosition(File, 3), Pos(0, 3)) << "in first line";
  251   EXPECT_THAT(offsetToPosition(File, 6), Pos(0, 6)) << "end of first line";
  252   EXPECT_THAT(offsetToPosition(File, 7), Pos(0, 7)) << "first newline";
  253   EXPECT_THAT(offsetToPosition(File, 8), Pos(1, 0)) << "start of second line";
  254   EXPECT_THAT(offsetToPosition(File, 12), Pos(1, 4)) << "before BMP char";
  255   EXPECT_THAT(offsetToPosition(File, 13), Pos(1, 5)) << "in BMP char";
  256   EXPECT_THAT(offsetToPosition(File, 15), Pos(1, 5)) << "after BMP char";
  257   EXPECT_THAT(offsetToPosition(File, 16), Pos(1, 6)) << "end of second line";
  258   EXPECT_THAT(offsetToPosition(File, 17), Pos(1, 7)) << "second newline";
  259   EXPECT_THAT(offsetToPosition(File, 18), Pos(2, 0)) << "start of last line";
  260   EXPECT_THAT(offsetToPosition(File, 21), Pos(2, 3)) << "in last line";
  261   EXPECT_THAT(offsetToPosition(File, 22), Pos(2, 4)) << "before astral char";
  262   EXPECT_THAT(offsetToPosition(File, 24), Pos(2, 5)) << "in astral char";
  263   EXPECT_THAT(offsetToPosition(File, 26), Pos(2, 5)) << "after astral char";
  264   EXPECT_THAT(offsetToPosition(File, 28), Pos(2, 7)) << "end of last line";
  265   EXPECT_THAT(offsetToPosition(File, 29), Pos(2, 8)) << "EOF";
  266   EXPECT_THAT(offsetToPosition(File, 30), Pos(2, 8)) << "out of bounds";
  273   EXPECT_THAT(offsetToPosition(File, 30), Pos(2, 11)) << "out of bounds";
  366     EXPECT_EQ(TestCase.points().front(), ActualPos) << Text;
  594   ASSERT_TRUE(Range) << "Failed to get file range";
  679         << Test.code();
  680     EXPECT_EQ(Res.EnclosingNamespace, Case.EnclosingNamespace) << Test.code();
tools/clang/tools/extra/clangd/unittests/TUSchedulerTests.cpp
  195                           << "auto should have been cancelled by auto";
  199                       ADD_FAILURE() << "no diags should not be called back";
  222                           << "auto should have been debounced and canceled";
  330             ADD_FAILURE() << "Non-cancelled error for " << ID << ": "
  330             ADD_FAILURE() << "Non-cancelled error for " << ID << ": "
  330             ADD_FAILURE() << "Non-cancelled error for " << ID << ": "
  331                           << llvm::toString(std::move(Err));
  355       << "U1 and all dependent reads were cancelled. "
  359       << "All reads other than R2B were cancelled";
  361       << "All reads other than R2B were cancelled";
  619       ADD_FAILURE() << "Updated has not finished in one second. Threading bug?";
  658       [](std::vector<Diag>) { ADD_FAILURE() << "Should not be called."; });
  677       [&](std::vector<Diag>) { ADD_FAILURE() << "Should not be called."; });
tools/clang/tools/extra/clangd/unittests/TestTU.cpp
   75     ADD_FAILURE() << "Failed to build code:\n" << Code;
   75     ADD_FAILURE() << "Failed to build code:\n" << Code;
  103       ADD_FAILURE() << "Multiple symbols named " << QName << ":\n"
  103       ADD_FAILURE() << "Multiple symbols named " << QName << ":\n"
  103       ADD_FAILURE() << "Multiple symbols named " << QName << ":\n"
  104                     << *Result << "\n---\n"
  104                     << *Result << "\n---\n"
  105                     << S;
  111     ADD_FAILURE() << "No symbol named " << QName << " in "
  111     ADD_FAILURE() << "No symbol named " << QName << " in "
  111     ADD_FAILURE() << "No symbol named " << QName << " in "
  112                   << ::testing::PrintToString(Slab);
  153     ADD_FAILURE() << Visitor.Decls.size() << " symbols matched.";
  153     ADD_FAILURE() << Visitor.Decls.size() << " symbols matched.";
tools/clang/tools/extra/clangd/unittests/TraceTests.cpp
   38     ADD_FAILURE() << "Not an object";
   54       ADD_FAILURE() << KS << " is not a string";
   54       ADD_FAILURE() << KS << " is not a string";
   59       ADD_FAILURE() << KS << " expected " << I->second << " but actual " << VS;
   59       ADD_FAILURE() << KS << " expected " << I->second << " but actual " << VS;
   59       ADD_FAILURE() << KS << " expected " << I->second << " but actual " << VS;
   59       ADD_FAILURE() << KS << " expected " << I->second << " but actual " << VS;
   59       ADD_FAILURE() << KS << " expected " << I->second << " but actual " << VS;
   65     ADD_FAILURE() << P.first << " missing, expected " << P.second;
   65     ADD_FAILURE() << P.first << " missing, expected " << P.second;
   65     ADD_FAILURE() << P.first << " missing, expected " << P.second;
   90   ASSERT_NE(Root, nullptr) << "Root should be an object";
  102   ASSERT_NE(Prop, Root->end()) << "Expected displayTimeUnit property";
  105   ASSERT_NE(++Prop, Root->end()) << "Expected traceEvents property";
  109   ASSERT_NE(Events, nullptr) << "traceEvents should be an array";
  111   ASSERT_NE(Event, Events->end()) << "Expected process name";
  114     ASSERT_NE(++Event, Events->end()) << "Expected thread name";
  117   ASSERT_NE(++Event, Events->end()) << "Expected log message";
  119   ASSERT_NE(++Event, Events->end()) << "Expected span end";
tools/clang/tools/extra/clangd/unittests/TweakTesting.cpp
  124         ADD_FAILURE() << "There were changes to additional files, but client "
tools/clang/tools/extra/clangd/unittests/TweakTests.cpp
   83       << "broken condition";
  437     EXPECT_EQ(IO.second, apply(IO.first)) << IO.first;
  885     EXPECT_EQ(C.second, apply(C.first)) << C.first;
 1381     EXPECT_EQ(apply(Case.first), Case.second) << Case.first;
 1531     EXPECT_EQ(apply(Case.first), Case.second) << Case.first;
 1589     EXPECT_EQ(apply(Case.first), Case.second) << Case.first;
tools/clang/tools/extra/clangd/unittests/XRefsTests.cpp
  582   EXPECT_TRUE(bool(Locations)) << "findDefinitions returned an error";
  587   EXPECT_TRUE(bool(Locations)) << "findDefinitions returned an error";
  594   EXPECT_TRUE(bool(Locations)) << "findDefinitions returned an error";
 1846       EXPECT_NE("", Test.ExpectedHover) << Test.Input;
 1848           << Test.Input;
 1850       EXPECT_EQ("", Test.ExpectedHover.str()) << Test.Input;
 1884   ASSERT_TRUE(bool(Locations)) << "locateSymbolAt returned an error";
 1889   ASSERT_TRUE(bool(Locations)) << "locateSymbolAt returned an error";
 1893   ASSERT_TRUE(bool(Locations)) << "locateSymbolAt returned an error";
 1898   ASSERT_TRUE(bool(Locations)) << "locateSymbolAt returned an error";
 1903   ASSERT_TRUE(bool(Locations)) << "locateSymbolAt returned an error";
 1907   ASSERT_TRUE(bool(Locations)) << "locateSymbolAt returned an error";
 1911   ASSERT_TRUE(bool(Locations)) << "locateSymbolAt returned an error";
 1923   ASSERT_TRUE(bool(Locations)) << "locateSymbolAt returned an error";
 2183       EXPECT_NE(Rec.RefIDs, None) << T.AnnotatedCode;
 2185       EXPECT_EQ(Rec.RefIDs, None) << T.AnnotatedCode;
 2201         << AST.getDiagnostics().begin()->Message;
 2206       ASSERT_TRUE(!!Location) << llvm::toString(Location.takeError());
 2271         << AST.getDiagnostics().begin()->Message;
 2288         << File.code();
tools/clang/tools/extra/unittests/clang-include-fixer/FuzzySymbolIndexTests.cpp
   50       << "Non-prefix";
   52       << "Skip token";
tools/clang/tools/extra/unittests/clang-include-fixer/IncludeFixerTest.cpp
  108       << llvm::toString(Replaces.takeError()) << "\n";
  108       << llvm::toString(Replaces.takeError()) << "\n";
tools/clang/unittests/AST/CommentLexer.cpp
  324           << "index " << i;
  324           << "index " << i;
tools/clang/unittests/ASTMatchers/Dynamic/RegistryTest.cpp
   62     EXPECT_EQ("", DummyError.toStringFull()) << MatcherName;
tools/clang/unittests/DirectoryWatcher/DirectoryWatcherTest.cpp
  248       << "The expected result state wasn't reached before the time-out.";
tools/clang/unittests/Driver/MultilibTest.cpp
   24   ASSERT_TRUE(Multilib().isValid()) << "Empty multilib is not valid";
   27       << "Single indicative flag is not valid";
   30       << "Single contraindicative flag is not valid";
   33       << "Conflicting flags should invalidate the Multilib";
   36       << "Multilib should be valid even if it has the same flag twice";
   39       << "Seemingly conflicting prefixes shouldn't actually conflict";
   44   ASSERT_TRUE(M == M) << "Multilib::operator==() is not reflexive";
   49       << "Separately constructed default multilibs are not equal";
   56   ASSERT_TRUE(M1 == M2) << "Multilibs with the same flag should be the same";
   63   ASSERT_FALSE(M1 == M2) << "Multilibs with conflicting flags are not the same";
   65       << "Multilibs with conflicting flags are not the same (commuted)";
   71   ASSERT_FALSE(M1 == M2) << "Flags make Multilibs different";
   78   ASSERT_TRUE(M1 == M2) << "Flag duplication shouldn't affect equivalence";
   80       << "Flag duplication shouldn't affect equivalence (commuted)";
   88       << "Constructor argument must match Multilib::gccSuffix()";
   90       << "Constructor argument must match Multilib::gccSuffix() (commuted)";
   98       << "Constructor argument must match Multilib::osSuffix()";
  100       << "Constructor argument must match Multilib::osSuffix() (commuted)";
  108       << "Constructor argument must match Multilib::includeSuffix()";
  110       << "Constructor argument must match Multilib::includeSuffix() (commuted)";
  116   ASSERT_FALSE(M1 == M2) << "Differing gccSuffixes should be different";
  118       << "Differing gccSuffixes should be different (commuted)";
  124   ASSERT_FALSE(M1 == M2) << "Differing osSuffixes should be different";
  126       << "Differing osSuffixes should be different (commuted)";
  132   ASSERT_FALSE(M1 == M2) << "Differing includeSuffixes should be different";
  134       << "Differing includeSuffixes should be different (commuted)";
  150       << "Default arguments to Multilib constructor broken (first argument)";
  152       << "Default arguments to Multilib constructor broken (second argument)";
  154       << "Default arguments to Multilib constructor broken (third argument)";
  192       FAIL() << "Unrecognized gccSufix: " << I->gccSuffix();
  192       FAIL() << "Unrecognized gccSufix: " << I->gccSuffix();
  203     ASSERT_TRUE(I->isValid()) << "Multilb " << *I << " should be valid";
  203     ASSERT_TRUE(I->isValid()) << "Multilb " << *I << " should be valid";
  203     ASSERT_TRUE(I->isValid()) << "Multilb " << *I << " should be valid";
  207         << "Multilib " << *I << " wasn't expected";
  207         << "Multilib " << *I << " wasn't expected";
  207         << "Multilib " << *I << " wasn't expected";
  214         << "Multilib " << *I << " didn't have the appropriate {+,-}sof flag";
  214         << "Multilib " << *I << " didn't have the appropriate {+,-}sof flag";
  214         << "Multilib " << *I << " didn't have the appropriate {+,-}sof flag";
  221         << "Multilib " << *I << " didn't have the appropriate {+,-}EL flag";
  221         << "Multilib " << *I << " didn't have the appropriate {+,-}EL flag";
  221         << "Multilib " << *I << " didn't have the appropriate {+,-}EL flag";
  245       << "Size before filter was incorrect. Contents:\n" << MS;
  245       << "Size before filter was incorrect. Contents:\n" << MS;
  248       << "Size after filter was incorrect. Contents:\n" << MS;
  248       << "Size after filter was incorrect. Contents:\n" << MS;
  251         << "The filter should have removed " << *I;
  251         << "The filter should have removed " << *I;
  268       << "Size before filter was incorrect. Contents:\n" << MS;
  268       << "Size before filter was incorrect. Contents:\n" << MS;
  277       << "Size after filter was incorrect. Contents:\n" << MS;
  277       << "Size after filter was incorrect. Contents:\n" << MS;
  280         << "The filter should have removed " << *I;
  280         << "The filter should have removed " << *I;
  292       << "Flag set was {\"+m64\"}, but selection not found";
  294       << "Selection picked " << SelectionM64 << " which was not expected";
  294       << "Selection picked " << SelectionM64 << " which was not expected";
  294       << "Selection picked " << SelectionM64 << " which was not expected";
  300       << "Flag set was {\"-m64\"}, but selection not found";
  302       << "Selection picked " << SelectionNoM64 << " which was not expected";
  302       << "Selection picked " << SelectionNoM64 << " which was not expected";
  302       << "Selection picked " << SelectionNoM64 << " which was not expected";
  325     ASSERT_TRUE(MS2.select(Flags, Selection)) << "Selection failed for "
  326                                               << (IsEL ? "+EL" : "-EL") << " "
  326                                               << (IsEL ? "+EL" : "-EL") << " "
  327                                               << (IsSF ? "+SF" : "-SF");
  335     ASSERT_EQ(Selection.gccSuffix(), Suffix) << "Selection picked " << Selection
  335     ASSERT_EQ(Selection.gccSuffix(), Suffix) << "Selection picked " << Selection
  336                                              << " which was not expected ";
  363       << "Flag set was {\"+foo\"}, but selection not found";
  365       << "Selection picked " << Selection1 << " which was not expected";
  365       << "Selection picked " << Selection1 << " which was not expected";
  365       << "Selection picked " << Selection1 << " which was not expected";
  372       << "Flag set was {\"+bar\"}, but selection not found";
  374       << "Selection picked " << Selection2 << " which was not expected";
  374       << "Selection picked " << Selection2 << " which was not expected";
  374       << "Selection picked " << Selection2 << " which was not expected";
tools/clang/unittests/Format/CleanupTest.cpp
  311         << llvm::toString(CleanReplaces.takeError()) << "\n";
  311         << llvm::toString(CleanReplaces.takeError()) << "\n";
  321         << llvm::toString(CleanReplaces.takeError()) << "\n";
  321         << llvm::toString(CleanReplaces.takeError()) << "\n";
  324         << llvm::toString(FormattedReplaces.takeError()) << "\n";
  324         << llvm::toString(FormattedReplaces.takeError()) << "\n";
tools/clang/unittests/Format/FormatTest.cpp
   46           << Code << "\n\n";
   46           << Code << "\n\n";
   71         << "Expected code is not stable";
14383       << llvm::toString(FormattedReplaces.takeError()) << "\n";
14383       << llvm::toString(FormattedReplaces.takeError()) << "\n";
14412       << llvm::toString(FormattedReplaces.takeError()) << "\n";
14412       << llvm::toString(FormattedReplaces.takeError()) << "\n";
tools/clang/unittests/Format/FormatTestCSharp.cpp
   48     EXPECT_EQ(Code.str(), format(Code, Style)) << "Expected code is not stable";
tools/clang/unittests/Format/FormatTestComments.cpp
   49           << Code << "\n\n";
   49           << Code << "\n\n";
   72     EXPECT_EQ(Code.str(), format(Code, Style)) << "Expected code is not stable";
tools/clang/unittests/Format/FormatTestJS.cpp
   52         << "Expected code is not stable";
   54     EXPECT_EQ(Code.str(), Result) << "Formatted:\n" << Result;
   54     EXPECT_EQ(Code.str(), Result) << "Formatted:\n" << Result;
   62         << "Expected code is not stable";
   64     EXPECT_EQ(Expected.str(), Result) << "Formatted:\n" << Result;
   64     EXPECT_EQ(Expected.str(), Result) << "Formatted:\n" << Result;
tools/clang/unittests/Format/FormatTestJava.cpp
   48     EXPECT_EQ(Code.str(), format(Code, Style)) << "Expected code is not stable";
tools/clang/unittests/Format/FormatTestObjC.cpp
   51           << Code << "\n\n";
   51           << Code << "\n\n";
   60     EXPECT_EQ(Code.str(), format(Code)) << "Expected code is not stable";
tools/clang/unittests/Format/FormatTestProto.cpp
   40     EXPECT_EQ(Code.str(), format(Code)) << "Expected code is not stable";
tools/clang/unittests/Format/FormatTestRawStrings.cpp
   44           << Code << "\n\n";
   44           << Code << "\n\n";
tools/clang/unittests/Format/FormatTestSelective.cpp
   29     EXPECT_TRUE(Status.FormatComplete) << Code << "\n\n";
   29     EXPECT_TRUE(Status.FormatComplete) << Code << "\n\n";
tools/clang/unittests/Format/FormatTestTableGen.cpp
   40     EXPECT_EQ(Code.str(), format(Code)) << "Expected code is not stable";
tools/clang/unittests/Format/FormatTestTextProto.cpp
   38     EXPECT_EQ(Code.str(), format(Code, Style)) << "Expected code is not stable";
tools/clang/unittests/Format/SortImportsTestJS.cpp
   39     EXPECT_EQ(Expected.str(), Result) << "Expected:\n"
   40                                       << Expected << "\nActual:\n"
   40                                       << Expected << "\nActual:\n"
   41                                       << Result;
tools/clang/unittests/Frontend/ASTUnitTest.cpp
   77     FAIL() << "failed to create ASTUnit";
   95     FAIL() << "failed to load ASTUnit";
  104     FAIL() << "failed to create ASTUnit";
tools/clang/unittests/Frontend/CompilerInstanceTest.cpp
   61     FAIL() << "could not create compiler invocation";
tools/clang/unittests/Tooling/CastExprTest.cpp
   30         << "Expected DeclRefExpr, but saw " << Sub->getStmtClassName();
tools/clang/unittests/Tooling/CommentHandlerTest.cpp
   33     EXPECT_TRUE(Verified) << "CommentVerifier not accessed";
   46     EXPECT_TRUE(!Invalid) << "Invalid line number on comment " << C;
   46     EXPECT_TRUE(!Invalid) << "Invalid line number on comment " << C;
   49     EXPECT_TRUE(!Invalid) << "Invalid column number on comment " << C;
   49     EXPECT_TRUE(!Invalid) << "Invalid column number on comment " << C;
  104       EXPECT_TRUE(Current == End) << "Unexpected comment \""
  105         << Current->Message << "\" at line " << Current->Line << ", column "
  105         << Current->Message << "\" at line " << Current->Line << ", column "
  105         << Current->Message << "\" at line " << Current->Line << ", column "
  105         << Current->Message << "\" at line " << Current->Line << ", column "
  106         << Current->Col;
  111     EXPECT_TRUE(Current != End) << "Comment " << Message << " not found";
  111     EXPECT_TRUE(Current != End) << "Comment " << Message << " not found";
  116       <<   "Expected comment \"" << Message
  117       << "\" at line " << Line   << ", column " << Col
  117       << "\" at line " << Line   << ", column " << Col
  117       << "\" at line " << Line   << ", column " << Col
  117       << "\" at line " << Line   << ", column " << Col
  118       << "\nActual comment   \"" << C.Message
  118       << "\nActual comment   \"" << C.Message
  119       << "\" at line " << C.Line << ", column " << C.Col;
  119       << "\" at line " << C.Line << ", column " << C.Col;
  119       << "\" at line " << C.Line << ", column " << C.Col;
  119       << "\" at line " << C.Line << ", column " << C.Col;
tools/clang/unittests/Tooling/CompilationDatabaseTest.cpp
   32       << "Expected an error because of: " << Explanation.str();
   32       << "Expected an error because of: " << Explanation.str();
   62     ADD_FAILURE() << ErrorMessage;
   75     ADD_FAILURE() << ErrorMessage;
   85       << ErrorMessage;
  106       << ErrorMessage;
  114       << ErrorMessage;
  138   EXPECT_EQ(2U, Commands.size()) << ErrorMessage;
  139   EXPECT_EQ(Directory1, Commands[0].Directory) << ErrorMessage;
  140   EXPECT_EQ(FileName1, Commands[0].Filename) << ErrorMessage;
  141   EXPECT_EQ(Output1, Commands[0].Output) << ErrorMessage;
  143   EXPECT_EQ(Command1, Commands[0].CommandLine[0]) << ErrorMessage;
  144   EXPECT_EQ(Directory2, Commands[1].Directory) << ErrorMessage;
  145   EXPECT_EQ(FileName2, Commands[1].Filename) << ErrorMessage;
  146   EXPECT_EQ(Output2, Commands[1].Output) << ErrorMessage;
  148   EXPECT_EQ(Command2, Commands[1].CommandLine[0]) << ErrorMessage;
  163   EXPECT_EQ(2U, Commands.size()) << ErrorMessage;
  164   EXPECT_EQ(Directory2, Commands[0].Directory) << ErrorMessage;
  165   EXPECT_EQ(FileName2, Commands[0].Filename) << ErrorMessage;
  167   EXPECT_EQ(Command2, Commands[0].CommandLine[0]) << ErrorMessage;
  168   EXPECT_EQ(Directory1, Commands[1].Directory) << ErrorMessage;
  169   EXPECT_EQ(FileName1, Commands[1].Filename) << ErrorMessage;
  171   EXPECT_EQ(Command1, Commands[1].CommandLine[0]) << ErrorMessage;
  203    EXPECT_EQ(Directory, FoundCommand.Directory) << ErrorMessage;
  204    EXPECT_EQ(1u, FoundCommand.CommandLine.size()) << ErrorMessage;
  205    EXPECT_EQ(Arguments, FoundCommand.CommandLine[0]) << ErrorMessage;
  288   EXPECT_TRUE(NotFound.CommandLine.empty()) << ErrorMessage;
  289   EXPECT_TRUE(NotFound.Directory.empty()) << ErrorMessage;
  303   EXPECT_EQ(Directory, FoundCommand.Directory) << ErrorMessage;
  304   ASSERT_EQ(4u, FoundCommand.CommandLine.size()) << ErrorMessage;
  306             FoundCommand.CommandLine[0]) << ErrorMessage;
  307   EXPECT_EQ("and", FoundCommand.CommandLine[1]) << ErrorMessage;
  308   EXPECT_EQ("some", FoundCommand.CommandLine[2]) << ErrorMessage;
  309   EXPECT_EQ("arguments", FoundCommand.CommandLine[3]) << ErrorMessage;
  317   EXPECT_TRUE(NotFound.Directory.empty()) << ErrorMessage;
  318   EXPECT_TRUE(NotFound.CommandLine.empty()) << ErrorMessage;
  334             FoundCommand.CommandLine[0]) << ErrorMessage;
  335   EXPECT_EQ("and an argument", FoundCommand.CommandLine[1]) << ErrorMessage;
  349   EXPECT_EQ(Directory, FoundCommand.Directory) << ErrorMessage;
  368   EXPECT_EQ("//net/directory4", FoundCommand.Directory) << ErrorMessage;
  369   ASSERT_EQ(1u, FoundCommand.CommandLine.size()) << ErrorMessage;
  370   EXPECT_EQ("command4", FoundCommand.CommandLine[0]) << ErrorMessage;
  394         << Case.first;
  405   EXPECT_TRUE(ErrorMessage.empty()) << ErrorMessage;
  456   EXPECT_TRUE(Result[0].empty()) << Result[0];
  703         << "Last arg should be the file";
tools/clang/unittests/Tooling/QualTypeNamesTest.cpp
   38         EXPECT_TRUE(false) << "Typename::getFullyQualifiedName failed for "
   39                            << VD->getQualifiedNameAsString() << std::endl
   40                            << "   Actual: " << ActualName << std::endl
   40                            << "   Actual: " << ActualName << std::endl
   41                            << " Exepcted: " << ExpectedName;
   41                            << " Exepcted: " << ExpectedName;
tools/clang/unittests/Tooling/RefactoringCallbacksTest.cpp
   29       << "Parsing error in \"" << Code << "\"";
   29       << "Parsing error in \"" << Code << "\"";
   29       << "Parsing error in \"" << Code << "\"";
tools/clang/unittests/Tooling/SourceCodeBuildersTest.cpp
   56     ADD_FAILURE() << "AST construction failed";
   63     ADD_FAILURE() << "Wrong number of matches: " << Matches.size();
   63     ADD_FAILURE() << "Wrong number of matches: " << Matches.size();
   72   ASSERT_TRUE(StmtMatch) << "Snippet: " << Snippet;
   72   ASSERT_TRUE(StmtMatch) << "Snippet: " << Snippet;
   74       << "Snippet: " << Snippet;
   74       << "Snippet: " << Snippet;
   84   ASSERT_TRUE(StmtMatch) << "Snippet: " << Snippet;
   84   ASSERT_TRUE(StmtMatch) << "Snippet: " << Snippet;
   86       << "Snippet: " << Snippet;
   86       << "Snippet: " << Snippet;
tools/clang/unittests/Tooling/StencilTest.cpp
   60     ADD_FAILURE() << "AST construction failed";
   67     ADD_FAILURE() << "Wrong number of matches: " << Matches.size();
   67     ADD_FAILURE() << "Wrong number of matches: " << Matches.size();
  100       ADD_FAILURE() << "Expected failure but succeeded: " << *ResultOrErr;
  100       ADD_FAILURE() << "Expected failure but succeeded: " << *ResultOrErr;
  107         ADD_FAILURE() << "Unhandled error: " << llvm::toString(std::move(Err));
  107         ADD_FAILURE() << "Unhandled error: " << llvm::toString(std::move(Err));
  170       << "Expected unbound node, got " << *ResultOrErr;
  170       << "Expected unbound node, got " << *ResultOrErr;
tools/clang/unittests/Tooling/Syntax/TokensTest.cpp
  138         << "failed to run the frontend";
  151       ADD_FAILURE() << "could not add a file to VFS: " << Path;
  151       ADD_FAILURE() << "could not add a file to VFS: " << Path;
  201       ADD_FAILURE() << "will not look for an empty list of tokens";
  212       ADD_FAILURE() << "could not find the subrange for " << Query;
  212       ADD_FAILURE() << "could not find the subrange for " << Query;
  219       ADD_FAILURE() << "match is not unique for " << Query;
  219       ADD_FAILURE() << "match is not unique for " << Query;
  319         << collectAndDump(Test.first);
  476         << collectAndDump(Test.first);
  574       << "input: " << Code << "\nresults: " << collectAndDump(Code);
  574       << "input: " << Code << "\nresults: " << collectAndDump(Code);
  574       << "input: " << Code << "\nresults: " << collectAndDump(Code);
  574       << "input: " << Code << "\nresults: " << collectAndDump(Code);
tools/clang/unittests/Tooling/Syntax/TreeTest.cpp
   97       ADD_FAILURE() << "failed to run the frontend";
  107       ADD_FAILURE() << "could not add a file to VFS: " << Path;
  107       ADD_FAILURE() << "could not add a file to VFS: " << Path;
  156     EXPECT_EQ(Expected, Actual) << "the resulting dump is:\n" << Actual;
  156     EXPECT_EQ(Expected, Actual) << "the resulting dump is:\n" << Actual;
tools/clang/unittests/Tooling/TestVisitor.h
  170           << "Matched disallowed " << *It;
  170           << "Matched disallowed " << *It;
  236           << "Expected \"" << Candidate.ExpectedName
  236           << "Expected \"" << Candidate.ExpectedName
  237           << "\" at " << Candidate.LineNumber
  237           << "\" at " << Candidate.LineNumber
  238           << ":" << Candidate.ColumnNumber << PartialMatches;
  238           << ":" << Candidate.ColumnNumber << PartialMatches;
  238           << ":" << Candidate.ColumnNumber << PartialMatches;
tools/clang/unittests/Tooling/TransformerTest.cpp
   57     ADD_FAILURE() << "Could not format code: "
   58                   << llvm::toString(Formatted.takeError());
   66   ASSERT_TRUE(MaybeActual) << "Rewrite failed. Expecting: " << Expected;
   66   ASSERT_TRUE(MaybeActual) << "Rewrite failed. Expecting: " << Expected;
tools/lldb/unittests/Host/SocketAddressTest.cpp
   40       << "Address was: " << sa.GetIPAddress();
   40       << "Address was: " << sa.GetIPAddress();
tools/lldb/unittests/Language/CPlusPlus/CPlusPlusLanguageTest.cpp
  113     EXPECT_TRUE(method.IsValid()) << test.input;
tools/lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp
  264     ASSERT_EQ(0u, result->size()) << "response was: " << response;
  279       ASSERT_FALSE(ref.consumeInteger(10, size)) << "ref: " << ref;
  279       ASSERT_FALSE(ref.consumeInteger(10, size)) << "ref: " << ref;
  303       << ss.GetString();
tools/lldb/unittests/Process/minidump/MinidumpParserTest.cpp
  264   ASSERT_TRUE(range.hasValue()) << "There is no range containing this address";
tools/lldb/unittests/Signals/UnixSignalsTest.cpp
   34   ASSERT_EQ(expected.size(), observed.size()) << location;
   38         << "array index: " << i << "location:" << location;
   38         << "array index: " << i << "location:" << location;
   38         << "array index: " << i << "location:" << location;
   38         << "array index: " << i << "location:" << location;
tools/lldb/unittests/Symbol/TestClangASTContext.cpp
  203     FAIL() << "Unexpected encoding";
tools/lldb/unittests/Target/ModuleCacheTest.cpp
   89       << "uuid_view is: " << uuid_view.GetCString();
   94       << "sysroot_view is: " << sysroot_view.GetCString();
  127   EXPECT_TRUE(error.Success()) << "Error was: " << error.AsCString();
tools/lldb/unittests/Target/PathMappingListTest.cpp
   32         << "actual_remapped: " << actual_remapped.GetCString();
tools/lldb/unittests/UnwindAssembly/x86/Testx86AssemblyInspectionEngine.cpp
 2525         << "i: " << i;
 2525         << "i: " << i;
 2559         << "i: " << i;
 2559         << "i: " << i;
 2603         << "i: " << i;
 2603         << "i: " << i;
 2612         << "i: " << i;
 2612         << "i: " << i;
tools/lldb/unittests/Utility/FileSpecTest.cpp
  267         << "Original path: " << test.first;
tools/lldb/unittests/Utility/LogTest.cpp
  155       << "error: " << error;
  155       << "error: " << error;
  188       << "error: " << error;
  188       << "error: " << error;
tools/lldb/unittests/Utility/ScalarTest.cpp
  216       EXPECT_TRUE(lhs.Promote(int_types[i])) << "int promotion #" << i;
  216       EXPECT_TRUE(lhs.Promote(int_types[i])) << "int promotion #" << i;
  218       EXPECT_TRUE(rhs.Promote(float_types[j])) << "float promotion #" << j;
  218       EXPECT_TRUE(rhs.Promote(float_types[j])) << "float promotion #" << j;
  228       EXPECT_TRUE(lhs.Promote(float_types[i])) << "float promotion #" << i;
  228       EXPECT_TRUE(lhs.Promote(float_types[i])) << "float promotion #" << i;
  230       EXPECT_TRUE(rhs.Promote(float_types[j])) << "float promotion #" << j;
  230       EXPECT_TRUE(rhs.Promote(float_types[j])) << "float promotion #" << j;
tools/lldb/unittests/Utility/StringListTest.cpp
  512     FAIL() << "Shouldn't have hit an element in for range" << e;
  512     FAIL() << "Shouldn't have hit an element in for range" << e;
tools/lldb/unittests/Utility/TimerTest.cpp
   68       << "String: " << ss.GetData();
  103       << "String: " << ss.GetData();
tools/lldb/unittests/Utility/UUIDTest.cpp
   74       << "uuid was changed by failed parse calls";
tools/lldb/unittests/tools/lldb-server/tests/ThreadIdsInJstopinfoTest.cpp
   44       << "Thread count mismatch.";
   49         << "Thread ID: " << tid << " not in JThreadsInfo.";
   49         << "Thread ID: " << tid << " not in JThreadsInfo.";
   49         << "Thread ID: " << tid << " not in JThreadsInfo.";
unittests/ADT/APFloatTest.cpp
 3413           << formatv("({0:x} + {1:x}) + ({2:x} + {3:x})", Op1[0], Op1[1],
 3423           << formatv("({0:x} + {1:x}) + ({2:x} + {3:x})", Op2[0], Op2[1],
 3477           << formatv("({0:x} + {1:x}) + ({2:x} + {3:x})", Op1[0], Op1[1],
 3481           << formatv("({0:x} + {1:x}) + ({2:x} + {3:x})", Op1[0], Op1[1],
 3491           << formatv("({0:x} + {1:x}) + ({2:x} + {3:x})", Op2[0], Op2[1],
 3495           << formatv("({0:x} + {1:x}) + ({2:x} + {3:x})", Op2[0], Op2[1],
 3526         << formatv("({0:x} + {1:x}) - ({2:x} + {3:x})", Op1[0], Op1[1], Op2[0],
 3530         << formatv("({0:x} + {1:x}) - ({2:x} + {3:x})", Op1[0], Op1[1], Op2[0],
 3581           << formatv("({0:x} + {1:x}) * ({2:x} + {3:x})", Op1[0], Op1[1],
 3591           << formatv("({0:x} + {1:x}) * ({2:x} + {3:x})", Op2[0], Op2[1],
 3654           << formatv("({0:x} + {1:x}) * ({2:x} + {3:x})", Op1[0], Op1[1],
 3658           << formatv("({0:x} + {1:x}) * ({2:x} + {3:x})", Op1[0], Op1[1],
 3668           << formatv("({0:x} + {1:x}) * ({2:x} + {3:x})", Op2[0], Op2[1],
 3672           << formatv("({0:x} + {1:x}) * ({2:x} + {3:x})", Op2[0], Op2[1],
 3701         << formatv("({0:x} + {1:x}) / ({2:x} + {3:x})", Op1[0], Op1[1], Op2[0],
 3705         << formatv("({0:x} + {1:x}) / ({2:x} + {3:x})", Op1[0], Op1[1], Op2[0],
 3734         << formatv("remainder({0:x} + {1:x}), ({2:x} + {3:x}))", Op1[0], Op1[1],
 3738         << formatv("remainder(({0:x} + {1:x}), ({2:x} + {3:x}))", Op1[0],
 3769         << formatv("fmod(({0:x} + {1:x}),  ({2:x} + {3:x}))", Op1[0], Op1[1],
 3773         << formatv("fmod(({0:x} + {1:x}), ({2:x} + {3:x}))", Op1[0], Op1[1],
 3840         << formatv("compare(({0:x} + {1:x}), ({2:x} + {3:x}))", Op1[0], Op1[1],
 3872         << formatv("({0:x} + {1:x}) = ({2:x} + {3:x})", Op1[0], Op1[1], Op2[0],
unittests/ADT/DenseMapTest.cpp
  317     ASSERT_TRUE(visited[i]) << "Entry #" << i << " was never visited";
  317     ASSERT_TRUE(visited[i]) << "Entry #" << i << " was never visited";
  317     ASSERT_TRUE(visited[i]) << "Entry #" << i << " was never visited";
unittests/ADT/FallibleIteratorTest.cpp
  142   EXPECT_THAT_ERROR(std::move(Err), Failed()) << "Expected failure value";
  185       << "Normal (i.e. not early) loop exit should require an error check";
  213     EXPECT_THAT_ERROR(std::move(Err), Failed()) << "Expected failure value";
unittests/ADT/MappedIteratorTest.cpp
   21   EXPECT_EQ(*I, 1) << "should have applied function in dereference";
   37   EXPECT_EQ(Y.Z, 42) << "should have applied function during arrow";
   47   EXPECT_EQ(M[1], 42) << "assignment should have modified M";
unittests/ADT/StringMapTest.cpp
  221     ASSERT_TRUE(visited[i]) << "Entry #" << i << " was never visited";
  221     ASSERT_TRUE(visited[i]) << "Entry #" << i << " was never visited";
  221     ASSERT_TRUE(visited[i]) << "Entry #" << i << " was never visited";
unittests/Analysis/AliasSetTrackerTest.cpp
   56   ASSERT_TRUE(M) << "Bad assembly?";
unittests/Analysis/CaptureTrackingTest.cpp
   52   ASSERT_TRUE(M) << "Bad assembly?";
unittests/Analysis/DivergenceAnalysisTest.cpp
   70     ASSERT_NE(F, nullptr) << "Could not find " << FuncName;
   70     ASSERT_NE(F, nullptr) << "Could not find " << FuncName;
unittests/Analysis/DomTreeUpdaterTest.cpp
   72   ASSERT_NE(SI, nullptr) << "Couldn't get SwitchInst.";
  647   ASSERT_NE(SI, nullptr) << "Couldn't get SwitchInst.";
unittests/Analysis/GlobalsModRefTest.cpp
   32   ASSERT_TRUE(M) << "Bad assembly?";
unittests/Analysis/IVDescriptorsTest.cpp
   26   ASSERT_NE(F, nullptr) << "Could not find " << FuncName;
   26   ASSERT_NE(F, nullptr) << "Could not find " << FuncName;
unittests/Analysis/LazyCallGraphTest.cpp
  828   EXPECT_EQ(&CRC, &*I) << "Actual RefSCC: " << *I;
  828   EXPECT_EQ(&CRC, &*I) << "Actual RefSCC: " << *I;
  830   EXPECT_EQ(&BRC, &*I) << "Actual RefSCC: " << *I;
  830   EXPECT_EQ(&BRC, &*I) << "Actual RefSCC: " << *I;
  832   EXPECT_EQ(&ARC, &*I) << "Actual RefSCC: " << *I;
  832   EXPECT_EQ(&ARC, &*I) << "Actual RefSCC: " << *I;
  920   EXPECT_EQ(&CRC, &*I) << "Actual RefSCC: " << *I;
  920   EXPECT_EQ(&CRC, &*I) << "Actual RefSCC: " << *I;
  922   EXPECT_EQ(&BRC, &*I) << "Actual RefSCC: " << *I;
  922   EXPECT_EQ(&BRC, &*I) << "Actual RefSCC: " << *I;
  924   EXPECT_EQ(&ARC, &*I) << "Actual RefSCC: " << *I;
  924   EXPECT_EQ(&ARC, &*I) << "Actual RefSCC: " << *I;
  997   EXPECT_EQ(&ARC, &*I) << "Actual RefSCC: " << *I;
  997   EXPECT_EQ(&ARC, &*I) << "Actual RefSCC: " << *I;
 1064   EXPECT_EQ(&ARC, &*I) << "Actual RefSCC: " << *I;
 1064   EXPECT_EQ(&ARC, &*I) << "Actual RefSCC: " << *I;
 1139     ASSERT_TRUE(CI) << "Expected a call: " << *U;
 1139     ASSERT_TRUE(CI) << "Expected a call: " << *U;
 1141       ASSERT_EQ(nullptr, C1Call) << "Found too many C1 calls: " << *CI;
 1141       ASSERT_EQ(nullptr, C1Call) << "Found too many C1 calls: " << *CI;
 1144       ASSERT_EQ(nullptr, D1Call) << "Found too many D1 calls: " << *CI;
 1144       ASSERT_EQ(nullptr, D1Call) << "Found too many D1 calls: " << *CI;
 1147       FAIL() << "Found an unexpected call instruction: " << *CI;
 1147       FAIL() << "Found an unexpected call instruction: " << *CI;
 1206   EXPECT_EQ(&NewDRC, &*I) << "Actual RefSCC: " << *I;
 1206   EXPECT_EQ(&NewDRC, &*I) << "Actual RefSCC: " << *I;
 1208   EXPECT_EQ(&CRC, &*I) << "Actual RefSCC: " << *I;
 1208   EXPECT_EQ(&CRC, &*I) << "Actual RefSCC: " << *I;
 1210   EXPECT_EQ(&BRC, &*I) << "Actual RefSCC: " << *I;
 1210   EXPECT_EQ(&BRC, &*I) << "Actual RefSCC: " << *I;
 1212   EXPECT_EQ(&ARC, &*I) << "Actual RefSCC: " << *I;
 1212   EXPECT_EQ(&ARC, &*I) << "Actual RefSCC: " << *I;
unittests/Analysis/LoopInfoTest.cpp
   25   ASSERT_NE(F, nullptr) << "Could not find " << FuncName;
   25   ASSERT_NE(F, nullptr) << "Could not find " << FuncName;
   37   ASSERT_NE(F, nullptr) << "Could not find " << FuncName;
   37   ASSERT_NE(F, nullptr) << "Could not find " << FuncName;
unittests/Analysis/MemorySSATest.cpp
  616         << "Store " << I << " doesn't have the correct clobbering access";
  616         << "Store " << I << " doesn't have the correct clobbering access";
  616         << "Store " << I << " doesn't have the correct clobbering access";
  951       << "(DefA = " << DefA << ")";
  951       << "(DefA = " << DefA << ")";
  999       << "(DefX1 = " << DefX1 << ")";
  999       << "(DefX1 = " << DefX1 << ")";
 1030         << "Load " << I << " doesn't have the correct alias information";
 1030         << "Load " << I << " doesn't have the correct alias information";
 1030         << "Load " << I << " doesn't have the correct alias information";
 1038         << "Load " << I << " doesn't have the correct alias information";
 1038         << "Load " << I << " doesn't have the correct alias information";
 1038         << "Load " << I << " doesn't have the correct alias information";
 1068         << "Store " << I << " is optimized from the start?";
 1068         << "Store " << I << " is optimized from the start?";
 1068         << "Store " << I << " is optimized from the start?";
 1070         << "Store " << I
 1070         << "Store " << I
 1071         << " has correct alias information before being optimized?";
 1077       EXPECT_NE(Def, Clob) << "Store " << I
 1077       EXPECT_NE(Def, Clob) << "Store " << I
 1078                            << " has Defining Access equal to Clobbering Access";
 1081         << "Store " << I << " was not optimized";
 1081         << "Store " << I << " was not optimized";
 1081         << "Store " << I << " was not optimized";
 1084           << "Store " << I << " doesn't have the correct alias information";
 1084           << "Store " << I << " doesn't have the correct alias information";
 1084           << "Store " << I << " doesn't have the correct alias information";
 1087           << "Store " << I << " doesn't have the correct alias information";
 1087           << "Store " << I << " doesn't have the correct alias information";
 1087           << "Store " << I << " doesn't have the correct alias information";
 1121         << "Load " << I << " doesn't have the correct alias information";
 1121         << "Load " << I << " doesn't have the correct alias information";
 1121         << "Load " << I << " doesn't have the correct alias information";
 1129         << "Load " << I << " doesn't have the correct alias information";
 1129         << "Load " << I << " doesn't have the correct alias information";
 1129         << "Load " << I << " doesn't have the correct alias information";
 1172         << "Store " << I << " is optimized from the start?";
 1172         << "Store " << I << " is optimized from the start?";
 1172         << "Store " << I << " is optimized from the start?";
 1174         << "Store " << I
 1174         << "Store " << I
 1175         << " has correct alias information before being optimized?";
 1186         << "Store " << I << " was not optimized";
 1186         << "Store " << I << " was not optimized";
 1186         << "Store " << I << " was not optimized";
 1189           << "Store " << I << " doesn't have the correct alias information";
 1189           << "Store " << I << " doesn't have the correct alias information";
 1189           << "Store " << I << " doesn't have the correct alias information";
 1192           << "Store " << I << " doesn't have the correct alias information";
 1192           << "Store " << I << " doesn't have the correct alias information";
 1192           << "Store " << I << " doesn't have the correct alias information";
 1195           << "Store " << I << " doesn't have the correct alias information";
 1195           << "Store " << I << " doesn't have the correct alias information";
 1195           << "Store " << I << " doesn't have the correct alias information";
unittests/Analysis/ScalarEvolutionTest.cpp
   56     ASSERT_NE(F, nullptr) << "Could not find " << FuncName;
   56     ASSERT_NE(F, nullptr) << "Could not find " << FuncName;
  318     EXPECT_EQ(Mul0, Mul1) << "Expected " << *Mul0 << " == " << *Mul1;
  318     EXPECT_EQ(Mul0, Mul1) << "Expected " << *Mul0 << " == " << *Mul1;
  318     EXPECT_EQ(Mul0, Mul1) << "Expected " << *Mul0 << " == " << *Mul1;
  318     EXPECT_EQ(Mul0, Mul1) << "Expected " << *Mul0 << " == " << *Mul1;
  319     EXPECT_EQ(Mul1, Mul2) << "Expected " << *Mul1 << " == " << *Mul2;
  319     EXPECT_EQ(Mul1, Mul2) << "Expected " << *Mul1 << " == " << *Mul2;
  319     EXPECT_EQ(Mul1, Mul2) << "Expected " << *Mul1 << " == " << *Mul2;
  319     EXPECT_EQ(Mul1, Mul2) << "Expected " << *Mul1 << " == " << *Mul2;
  320     EXPECT_EQ(Mul2, Mul3) << "Expected " << *Mul2 << " == " << *Mul3;
  320     EXPECT_EQ(Mul2, Mul3) << "Expected " << *Mul2 << " == " << *Mul3;
  320     EXPECT_EQ(Mul2, Mul3) << "Expected " << *Mul2 << " == " << *Mul3;
  320     EXPECT_EQ(Mul2, Mul3) << "Expected " << *Mul2 << " == " << *Mul3;
  321     EXPECT_EQ(Mul3, Mul4) << "Expected " << *Mul3 << " == " << *Mul4;
  321     EXPECT_EQ(Mul3, Mul4) << "Expected " << *Mul3 << " == " << *Mul4;
  321     EXPECT_EQ(Mul3, Mul4) << "Expected " << *Mul3 << " == " << *Mul4;
  321     EXPECT_EQ(Mul3, Mul4) << "Expected " << *Mul3 << " == " << *Mul4;
  322     EXPECT_EQ(Mul4, Mul5) << "Expected " << *Mul4 << " == " << *Mul5;
  322     EXPECT_EQ(Mul4, Mul5) << "Expected " << *Mul4 << " == " << *Mul5;
  322     EXPECT_EQ(Mul4, Mul5) << "Expected " << *Mul4 << " == " << *Mul5;
  322     EXPECT_EQ(Mul4, Mul5) << "Expected " << *Mul4 << " == " << *Mul5;
  542     EXPECT_EQ(S0, D0) << *S0 << " " << *D0;
  542     EXPECT_EQ(S0, D0) << *S0 << " " << *D0;
  542     EXPECT_EQ(S0, D0) << *S0 << " " << *D0;
  549     EXPECT_EQ(S1, D1) << *S1 << " " << *D1;
  549     EXPECT_EQ(S1, D1) << *S1 << " " << *D1;
  549     EXPECT_EQ(S1, D1) << *S1 << " " << *D1;
  618           EXPECT_EQ(S, D) << "S = " << *S << "  D = " << *D << " N = " << *N;
  618           EXPECT_EQ(S, D) << "S = " << *S << "  D = " << *D << " N = " << *N;
  618           EXPECT_EQ(S, D) << "S = " << *S << "  D = " << *D << " N = " << *N;
  618           EXPECT_EQ(S, D) << "S = " << *S << "  D = " << *D << " N = " << *N;
  618           EXPECT_EQ(S, D) << "S = " << *S << "  D = " << *D << " N = " << *N;
  618           EXPECT_EQ(S, D) << "S = " << *S << "  D = " << *D << " N = " << *N;
  626           EXPECT_EQ(S, N) << "S = " << *S << "  N = " << *N;
  626           EXPECT_EQ(S, N) << "S = " << *S << "  N = " << *N;
  626           EXPECT_EQ(S, N) << "S = " << *S << "  N = " << *N;
  626           EXPECT_EQ(S, N) << "S = " << *S << "  N = " << *N;
 1656     ASSERT_NE(F, nullptr) << "Could not find function 'f'";
unittests/Analysis/ValueTrackingTest.cpp
   33     EXPECT_TRUE(M) << os.str();
   43     ASSERT_TRUE(F) << "Test must have a function @test";
   54     ASSERT_TRUE(A) << "@test must have an instruction %A";
  514         << "Incorrect answer at instruction " << Index << " = " << I;
  514         << "Incorrect answer at instruction " << Index << " = " << I;
  514         << "Incorrect answer at instruction " << Index << " = " << I;
  514         << "Incorrect answer at instruction " << Index << " = " << I;
unittests/Analysis/VectorFunctionABITest.cpp
  195       << "A number should be present after \"ls\".";
  198       << "A number should be present after \"Rs\".";
  201       << "A number should be present after \"Ls\".";
  204       << "A number should be present after \"Us\".";
unittests/CodeGen/GlobalISel/LegalizerHelperTest.cpp
   56   EXPECT_TRUE(CheckMachineFunction(*MF, CheckStr)) << *MF;
   90   EXPECT_TRUE(CheckMachineFunction(*MF, CheckStr)) << *MF;
  121   EXPECT_TRUE(CheckMachineFunction(*MF, CheckStr)) << *MF;
  153   EXPECT_TRUE(CheckMachineFunction(*MF, CheckStr)) << *MF;
  186   EXPECT_TRUE(CheckMachineFunction(*MF, CheckStr)) << *MF;
  213   EXPECT_TRUE(CheckMachineFunction(*MF, CheckStr)) << *MF;
  244   EXPECT_TRUE(CheckMachineFunction(*MF, CheckStr)) << *MF;
  275   EXPECT_TRUE(CheckMachineFunction(*MF, CheckStr)) << *MF;
  316   EXPECT_TRUE(CheckMachineFunction(*MF, CheckStr)) << *MF;
  351   EXPECT_TRUE(CheckMachineFunction(*MF, CheckStr)) << *MF;
  387   EXPECT_TRUE(CheckMachineFunction(*MF, CheckStr)) << *MF;
  420   EXPECT_TRUE(CheckMachineFunction(*MF, CheckStr)) << *MF;
  454   EXPECT_TRUE(CheckMachineFunction(*MF, CheckStr)) << *MF;
  489   EXPECT_TRUE(CheckMachineFunction(*MF, CheckStr)) << *MF;
  527   EXPECT_TRUE(CheckMachineFunction(*MF, CheckStr)) << *MF;
  566   EXPECT_TRUE(CheckMachineFunction(*MF, CheckStr)) << *MF;
  613   EXPECT_TRUE(CheckMachineFunction(*MF, CheckStr)) << *MF;
  654   EXPECT_TRUE(CheckMachineFunction(*MF, CheckStr)) << *MF;
  748   EXPECT_TRUE(CheckMachineFunction(*MF, CheckStr)) << *MF;
  794   EXPECT_TRUE(CheckMachineFunction(*MF, CheckStr)) << *MF;
  872   EXPECT_TRUE(CheckMachineFunction(*MF, CheckStr)) << *MF;
  918   EXPECT_TRUE(CheckMachineFunction(*MF, CheckStr)) << *MF;
 1019   EXPECT_TRUE(CheckMachineFunction(*MF, CheckStr)) << *MF;
 1056   EXPECT_TRUE(CheckMachineFunction(*MF, CheckStr)) << *MF;
unittests/CodeGen/GlobalISel/MachineIRBuilderTest.cpp
   37   EXPECT_TRUE(CheckMachineFunction(*MF, CheckStr)) << *MF;
   99   EXPECT_TRUE(CheckMachineFunction(*MF, CheckStr)) << *MF;
  120   EXPECT_TRUE(CheckMachineFunction(*MF, CheckStr)) << *MF;
  156   EXPECT_TRUE(CheckMachineFunction(*MF, CheckStr)) << *MF;
  185   EXPECT_TRUE(CheckMachineFunction(*MF, CheckStr)) << *MF;
  214   EXPECT_TRUE(CheckMachineFunction(*MF, CheckStr)) << *MF;
  242   EXPECT_TRUE(CheckMachineFunction(*MF, CheckStr)) << *MF;
  267   EXPECT_TRUE(CheckMachineFunction(*MF, CheckStr)) << *MF;
  293   EXPECT_TRUE(CheckMachineFunction(*MF, CheckStr)) << *MF;
  324   EXPECT_TRUE(CheckMachineFunction(*MF, CheckStr)) << *MF;
  363   EXPECT_TRUE(CheckMachineFunction(*MF, CheckStr)) << *MF;
unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp
 1821       FAIL() << "Unexpected attribute value: " << *V;
 1821       FAIL() << "Unexpected attribute value: " << *V;
 1847       FAIL() << "Unexpected attribute value: " << *V;
 1847       FAIL() << "Unexpected attribute value: " << *V;
unittests/ExecutionEngine/ExecutionEngineTest.cpp
   36     ASSERT_TRUE(Engine.get() != nullptr) << "EngineBuilder returned error: '"
   37       << Error << "'";
   37       << Error << "'";
   67     << "The NULL return shouldn't depend on having called"
   68     << " updateGlobalMapping(..., NULL)";
   73     << "A second mapping shouldn't affect the first.";
   93     << "Removing one mapping doesn't affect a different one.";
   98     << "Once a mapping is removed, we can point another GV at the"
   99     << " now-free address.";
unittests/ExecutionEngine/JITLink/JITLinkTestCommon.cpp
  145   ADD_FAILURE() << "Unexpected failure: " << toString(std::move(Err));
  145   ADD_FAILURE() << "Unexpected failure: " << toString(std::move(Err));
unittests/ExecutionEngine/JITLink/MachO_x86_64_Tests.cpp
   52     EXPECT_EQ(B.edges_size(), 1U) << "Incorrect number of edges for pointer";
   56     EXPECT_EQ(E.getOffset(), 0U) << "Expected edge offset of zero";
   58         << "Expected pointer to have a pointer64 relocation";
   59     EXPECT_EQ(&E.getTarget(), &Target) << "Expected edge to point at target";
   61         << "Pointer does not point to target";
   65     EXPECT_EQ(E.getAddend(), 0U) << "Expected GOT load to have a zero addend";
   67         << "GOT entry should be a defined symbol";
   76     EXPECT_EQ(E.getKind(), Branch32) << "Edge is not a Branch32";
   77     EXPECT_EQ(E.getAddend(), 0U) << "Expected no addend on stub call";
   79         << "Edge does not point at expected callee";
   91     EXPECT_EQ(E.getKind(), PCRel32) << "Edge is not a PCRel32";
   92     EXPECT_EQ(E.getAddend(), 0) << "Expected no addend on stub cal";
   93     EXPECT_TRUE(E.getTarget().isDefined()) << "Target is not a defined symbol";
  111       ADD_FAILURE() << "Edge target is not a stub";
  117         << "Expected one edge from stub to target";
  177               << "Unexpected number of relocations";
  179               << "Unexpected edge kind for _p";
  182               << "Unsigned relocation did not apply correctly";
  191               << "Incorrect number of edges for bar";
  193               << "Unexpected edge kind for _bar";
  201               << "Incorrect number of edges for foo";
  210               << "Incorrect number of edges for foo_1";
  218               << "Incorrect number of edges for foo_2";
  229               << "PCRel load does not reference expected target";
unittests/ExecutionEngine/MCJIT/MCJITMultipleModuleTest.cpp
   45   ASSERT_TRUE(ptr != 0) << "Unable to get pointer to function.";
   57   ASSERT_TRUE(ptr != 0) << "Unable to get pointer to function.";
  235     << "Invalid value for global returned from JITted function in module B";
  241     << "Invalid value for global returned from JITted function in module A";
unittests/ExecutionEngine/MCJIT/MCJITObjectCacheTest.cpp
  100       << "Unable to get pointer to main() from JIT";
unittests/ExecutionEngine/MCJIT/MCJITTest.cpp
   54     << "Unable to get pointer to global value from JIT";
   57     << "Unexpected initial value of global";
   67     << "Unable to get pointer to function from JIT";
   69   ASSERT_TRUE(addPtr != 0) << "Unable to get pointer to function .";
   88     << "Unable to get pointer to main() from JIT";
  113     << "Invalid value for global returned from JITted function";
  187     << "Unable to get pointer to outer function from JIT";
  191     << "Incorrect result returned from function";
  205   EXPECT_TRUE(A != nullptr) << "Failed lookup - test not correctly configured.";
  206   EXPECT_EQ(A, B) << "Repeat calls to getPointerToFunction fail.";
unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp
   29     EXPECT_TRUE(!!Result) << "Resolution unexpectedly returned error";
   32     EXPECT_NE(I, Resolved.end()) << "Could not find symbol definition";
   34         << "Resolution returned incorrect result";
   49   EXPECT_FALSE(OnCompletionRun) << "Should not have been resolved yet";
   53   EXPECT_FALSE(OnCompletionRun) << "Should not be ready yet";
   57   EXPECT_TRUE(OnCompletionRun) << "Should have been marked ready";
   64     EXPECT_FALSE(!!Result) << "Resolution unexpectedly returned success";
   66     EXPECT_EQ(Msg, "xyz") << "Resolution returned incorrect result";
   76   EXPECT_TRUE(OnCompletionRun) << "OnCompletionCallback was not run";
   90   EXPECT_TRUE(OnCompletionRun) << "OnCompletion was not run for empty query";
  111         ADD_FAILURE() << "Unexpected materialization of \"Bar\"";
  116         EXPECT_EQ(Name, Bar) << "Expected \"Bar\" to be discarded";
  129         ADD_FAILURE() << "\"Baz\" discarded unexpectedly";
  144     EXPECT_TRUE(!!Err) << "Expected failure";
  146         << "Expected a SymbolsNotFound error";
  153     EXPECT_TRUE(!!Err) << "Expected failure";
  155         << "Expected a SymbolsNotFound error";
  165     EXPECT_FALSE(!!Err) << "Expected failure";
  168   EXPECT_TRUE(BarDiscarded) << "\"Bar\" should have been discarded";
  170       << "\"Bar\"'s materializer should have been destructed";
  171   EXPECT_TRUE(OnCompletionRun) << "OnCompletion should have been run";
  190   EXPECT_TRUE(OnCompletionRun) << "OnCompletion was not run for empty query";
  206   EXPECT_EQ(Result.size(), 2U) << "Unexpected number of results";
  207   EXPECT_EQ(Result.count(Foo), 1U) << "Missing result for \"Foo\"";
  208   EXPECT_EQ(Result.count(Bar), 1U) << "Missing result for \"Bar\"";
  210       << "Wrong result for \"Bar\"";
  234       << "Returned symbol flags contains unexpected results";
  235   EXPECT_EQ(SymbolFlags.count(Foo), 1U) << "Missing lookupFlags result for Foo";
  237       << "Incorrect flags returned for Foo";
  239       << "Missing  lookupFlags result for Bar";
  241       << "Incorrect flags returned for Bar";
  257       << "Generator failure did not propagate through lookupFlags";
  263       << "Generator failure did not propagate through lookup";
  273   EXPECT_TRUE(!!Result) << "Unexpected lookup failure";
  274   EXPECT_EQ(Result->count(Baz), 1U) << "No result for \"baz\"";
  275   EXPECT_EQ(Result->count(Qux), 1U) << "No result for \"qux\"";
  277       << "\"Baz\"'s address should match \"Foo\"'s";
  279       << "The \"Qux\" alias should have been overriden";
  288   EXPECT_TRUE(!!Result) << "Unexpected lookup failure";
  289   EXPECT_EQ(Result->count(Bar), 1U) << "No result for \"bar\"";
  290   EXPECT_EQ(Result->count(Baz), 1U) << "No result for \"baz\"";
  292       << "\"Bar\"'s address should match \"Foo\"'s";
  294       << "\"Baz\"'s address should match \"Foo\"'s";
  308       << "Re-export Bar for symbol Foo should match FooSym's address";
  334       << "Re-export Baz for symbol Foo should match FooSym's address";
  336   EXPECT_FALSE(BarMaterialized) << "Bar should not have been materialized";
  350   EXPECT_EQ(Flags.size(), 1U) << "Unexpected number of results";
  351   EXPECT_EQ(Flags[Foo], FooSym.getFlags()) << "Unexpected flags for Foo";
  356       << "Incorrect reexported symbol address";
  378       << "No symbols marked failed, but Foo failed to resolve";
  380       << "No symbols marked failed, but Foo failed to emit";
  383     << "Self-dependency prevented symbol from being marked ready";
  488   EXPECT_FALSE(FooResolved) << "\"Foo\" should not be resolved yet";
  489   EXPECT_FALSE(BarResolved) << "\"Bar\" should not be resolved yet";
  490   EXPECT_FALSE(BazResolved) << "\"Baz\" should not be resolved yet";
  494       << "No symbols failed, but Foo failed to resolve";
  496       << "No symbols failed, but Bar failed to resolve";
  498       << "No symbols failed, but Baz failed to resolve";
  501   EXPECT_TRUE(FooResolved) << "\"Foo\" should be resolved now";
  502   EXPECT_TRUE(BarResolved) << "\"Bar\" should be resolved now";
  503   EXPECT_TRUE(BazResolved) << "\"Baz\" should be resolved now";
  505   EXPECT_FALSE(FooReady) << "\"Foo\" should not be ready yet";
  506   EXPECT_FALSE(BarReady) << "\"Bar\" should not be ready yet";
  507   EXPECT_FALSE(BazReady) << "\"Baz\" should not be ready yet";
  511       << "No symbols failed, but Foo failed to emit";
  513       << "No symbols failed, but Bar failed to emit";
  516   EXPECT_FALSE(FooReady) << "\"Foo\" still should not be ready";
  517   EXPECT_FALSE(BarReady) << "\"Bar\" still should not be ready";
  518   EXPECT_FALSE(BazReady) << "\"Baz\" still should not be ready";
  522       << "No symbols failed, but Baz failed to emit";
  525   EXPECT_TRUE(FooReady) << "\"Foo\" should be ready now";
  526   EXPECT_TRUE(BarReady) << "\"Bar\" should be ready now";
  527   EXPECT_TRUE(BazReady) << "\"Baz\" should be ready now";
  573   EXPECT_TRUE(OnBarReadyRun) << "Query for \"Bar\" was not run";
  574   EXPECT_FALSE(OnFooReadyRun) << "Query for \"Foo\" was run unexpectedly";
  578       << "Expected resolution for \"Foo\" to fail.";
  583   EXPECT_TRUE(OnFooReadyRun) << "Query for \"Foo\" was not run";
  587       << "Lookup on failed symbol should fail";
  590       << "Lookup on failed symbol should fail";
  637   EXPECT_TRUE(OnBarReadyRun) << "Query for \"Bar\" was not run";
  638   EXPECT_FALSE(OnFooReadyRun) << "Query for \"Foo\" was run unexpectedly";
  642       << "Expected resolution for \"Foo\" to fail.";
  647   EXPECT_TRUE(OnFooReadyRun) << "Query for \"Foo\" was not run";
  651       << "Lookup on failed symbol should fail";
  654       << "Lookup on failed symbol should fail";
  698   EXPECT_TRUE(OnBarReadyRun) << "Query for \"Bar\" was not run";
  699   EXPECT_FALSE(OnFooReadyRun) << "Query for \"Foo\" should not have run yet";
  706       << "Expected resolution for \"Foo\" to fail.";
  711   EXPECT_TRUE(OnFooReadyRun) << "Query for \"Foo\" was not run";
  715       << "Lookup on failed symbol should fail";
  718       << "Lookup on failed symbol should fail";
  763       << "Expected resolution for \"Foo\" to succeed.";
  765       << "Expected emission for \"Foo\" to succeed.";
  771   EXPECT_TRUE(OnFooReadyRun) << "Query for Foo did not run";
  772   EXPECT_TRUE(OnBarReadyRun) << "Query for Bar did not run";
  792       << "Expected lookup to fail.";
  795   EXPECT_TRUE(MaterializerRun) << "Expected materializer to have run by now";
  799       << "Expected lookup for Foo to fail.";
  801       << "Expected lookup for Bar to fail.";
  817             << "Discard of unexpected symbol?";
  826       << "MaterializationUnit should not have been destroyed yet";
  831       << "MaterializationUnit should have been destroyed";
  850         EXPECT_EQ(Name, Bar) << "Expected Name to be Bar";
  862     EXPECT_TRUE(!!Result) << "Resolution unexpectedly returned error";
  864     EXPECT_NE(I, Result->end()) << "Could not find symbol definition";
  866         << "Resolution returned incorrect result";
  873   EXPECT_TRUE(FooMaterialized) << "Foo was not materialized";
  874   EXPECT_TRUE(BarDiscarded) << "Bar was not discarded";
  875   EXPECT_TRUE(OnCompletionRun) << "OnResolutionCallback was not run";
  895         ADD_FAILURE() << "Attempt to materialize Bar from the wrong unit";
  899         EXPECT_EQ(Name, Bar) << "Expected \"Bar\" to be discarded";
  916   EXPECT_TRUE(OnCompletionRun) << "OnCompletion not run";
  917   EXPECT_TRUE(BarMaterialized) << "Bar was not materialized at all";
  919       << "Duplicate bar definition not discarded";
  927           ADD_FAILURE() << "Unexpected materialization";
  949       << "Expected Bar == BarSym";
  982   EXPECT_EQ(Result.count(Bar), 1U) << "Expected to find fallback def for 'bar'";
  984       << "Expected fallback def for Bar to be equal to BarSym";
 1000   EXPECT_FALSE(!!Result) << "Expected failure";
 1006               << "Expected to fail on JITDylib JD";
 1008               << "Expected to fail on symbols in Names";
 1016           ADD_FAILURE() << "Expected a FailedToResolve error. Got:\n" << ErrMsg;
 1016           ADD_FAILURE() << "Expected a FailedToResolve error. Got:\n" << ErrMsg;
 1053       << "Unexpected success while trying to test error propagation";
 1073             << "Expected query to fail";
 1077   EXPECT_TRUE(QueryHandlerRun) << "Query handler never ran";
 1094       << "lookup returned an incorrect address";
 1096       << "lookup returned incorrect flags";
 1115       << "lookup returned an incorrect address";
 1117       << "lookup returned incorrect flags";
 1136         EXPECT_EQ(Requested.size(), 1U) << "Expected one symbol requested";
 1137         EXPECT_EQ(*Requested.begin(), Foo) << "Expected \"Foo\" requested";
 1157   EXPECT_FALSE(FooMaterialized) << "Foo should not be materialized yet";
 1158   EXPECT_FALSE(BarMaterialized) << "Bar should not be materialized yet";
 1163       << "Address mismatch for Foo";
 1165   EXPECT_TRUE(FooMaterialized) << "Foo should be materialized now";
 1166   EXPECT_FALSE(BarMaterialized) << "Bar still should not be materialized";
 1171       << "Address mismatch for Bar";
 1172   EXPECT_TRUE(BarMaterialized) << "Bar should be materialized now";
 1191   EXPECT_TRUE(!!Result) << "Result should be a success value";
 1192   EXPECT_EQ(Result->count(Foo), 1U) << "\"Foo\" entry missing";
 1193   EXPECT_EQ(Result->count(Bar), 1U) << "\"Bar\" entry missing";
 1195       << "Address mismatch for \"Foo\"";
 1197       << "Address mismatch for \"Bar\"";
 1229   EXPECT_TRUE(!!Err) << "Expected failure value";
 1231       << "Expected a duplicate definition error";
unittests/ExecutionEngine/Orc/GlobalMappingLayerTest.cpp
   37   EXPECT_EQ(H, 42) << "Incorrect result from addModule";
   41   EXPECT_FALSE(FooSym) << "Found unexpected symbol.";
   47     << "Symbol lookup fall-through failed.";
   54     << "Symbol mapping setup failed.";
   59   EXPECT_FALSE(FooSym3) << "Symbol mapping removal failed.";
unittests/ExecutionEngine/Orc/IndirectionUtilsTest.cpp
   39   EXPECT_TRUE(isa<LoadInst>(*II)) << "First instruction of stub should be a load.";
   41   EXPECT_TRUE(Call != nullptr) << "Second instruction of stub should be a call.";
   42   EXPECT_TRUE(Call->isTailCall()) << "Indirect call from stub should be tail call.";
   44     << "makeStub should propagate sret attr on 1st argument.";
   46     << "makeStub should propagate byval attr on 2nd argument.";
unittests/ExecutionEngine/Orc/JITTargetMachineBuilderTest.cpp
   46         << "JITTargetMachineBuilder should return a non-null TargetMachine "
unittests/ExecutionEngine/Orc/LazyCallThroughAndReexportsTest.cpp
   72       << "CallThrough did not materialize target";
   74       << "CallThrough should have generated exactly one 'NotifyResolved' call";
   75   EXPECT_EQ(Result, 42) << "Failed to call through to target";
unittests/ExecutionEngine/Orc/LegacyAPIInteropTest.cpp
   41       << "getResponsibilitySet returned the wrong number of results";
   43       << "getResponsibilitySet result incorrect. Should be {'bar'}";
   49     EXPECT_TRUE(!!Result) << "Unexpected error";
   50     EXPECT_EQ(Result->size(), 2U) << "Unexpected number of resolved symbols";
   51     EXPECT_EQ(Result->count(Foo), 1U) << "Missing lookup result for foo";
   52     EXPECT_EQ(Result->count(Bar), 1U) << "Missing lookup result for bar";
   54         << "Incorrect address for foo";
   56         << "Incorrect address for bar";
   64   EXPECT_EQ(Unresolved.size(), 1U) << "Expected one unresolved symbol";
   65   EXPECT_EQ(Unresolved.count(Baz), 1U) << "Expected baz to not be resolved";
   66   EXPECT_TRUE(OnCompletionRun) << "OnCompletion was never run";
   92   EXPECT_TRUE(!!RS) << "Expected getResponsibilitySetWithLegacyFn to succeed";
   93   EXPECT_EQ(RS->size(), 1U) << "Wrong number of symbols returned";
   94   EXPECT_EQ(RS->count(Bar), 1U) << "Incorrect responsibility set returned";
   96       << "lookupFlags should not have materialized bar";
  101     EXPECT_TRUE(!!Result) << "lookuWithLegacy failed to resolve";
  103     EXPECT_EQ(Result->size(), 2U) << "Wrong number of symbols resolved";
  104     EXPECT_EQ(Result->count(Foo), 1U) << "Result for foo missing";
  105     EXPECT_EQ(Result->count(Bar), 1U) << "Result for bar missing";
  106     EXPECT_EQ((*Result)[Foo].getAddress(), FooAddr) << "Wrong address for foo";
  108         << "Wrong flags for foo";
  109     EXPECT_EQ((*Result)[Bar].getAddress(), BarAddr) << "Wrong address for bar";
  111         << "Wrong flags for bar";
  118   EXPECT_TRUE(OnCompletionRun) << "OnCompletion was not run";
  119   EXPECT_EQ(Unresolved.size(), 1U) << "Expected one unresolved symbol";
  120   EXPECT_EQ(Unresolved.count(Baz), 1U) << "Expected baz to be unresolved";
unittests/ExecutionEngine/Orc/LegacyCompileOnDemandLayerTest.cpp
   85   EXPECT_TRUE(!!Sym) << "CompileOnDemand::findSymbol should call findSymbol in "
unittests/ExecutionEngine/Orc/LegacyRTDyldObjectLinkingLayerTest.cpp
  106       << "Unexpected debug info section";
  117       << "Expected debug info section not seen";
  209       << "Extra call to finalize";
  277       << "More than one call to needsToReserveAllocationSpace "
unittests/ExecutionEngine/Orc/ObjectTransformLayerTest.cpp
   50     EXPECT_EQ(MockKey, K) << "Key should pass through";
   51     EXPECT_EQ(MockObject + 1, *Obj) << "Transform should be applied";
   80     EXPECT_EQ(MockName, Name) << "Name should pass through";
   81     EXPECT_EQ(MockBool, ExportedSymbolsOnly) << "Flag should pass through";
   94         << "Return should pass through";
  100     EXPECT_EQ(MockKey, K) << "VModuleKey should pass through";
  101     EXPECT_EQ(MockName, Name) << "Name should pass through";
  102     EXPECT_EQ(MockBool, ExportedSymbolsOnly) << "Flag should pass through";
  117         << "Return should pass through";
  122     EXPECT_EQ(MockKey, K) << "VModuleKey should pass through";
  212   EXPECT_EQ(223, *Obj2) << "Expected mutation";
  248   EXPECT_EQ(*Mutatee, *Out) << "Expected in-place transform";
  249   EXPECT_EQ(278, *Mutatee) << "Expected incrementing transform";
  255   EXPECT_EQ(289, *OwnedObj) << "Expected incrementing transform";
unittests/ExecutionEngine/Orc/OrcCAPITest.cpp
  115       << "Eagerly JIT'd code did not return expected result";
  125       << "Eagerly JIT'd code did not return expected result";
  152     << "Lazily JIT'd code did not return expected result";
  177     << "Lazily JIT'd code did not return expected result";
  204     << "Function wasn't lazily compiled";
  206     << "Direct-callback JIT'd code did not return expected result";
  211     << "Direct-callback JIT'd code was JIT'd twice";
unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp
  185               << "Server void(bool) received unexpected result";
  191         EXPECT_FALSE(!!Err) << "Server failed to handle call to negotiate";
  197         EXPECT_FALSE(!!Err) << "Server failed to handle call to void(bool)";
  205           EXPECT_FALSE(!!Err) << "Async void(bool) response handler failed";
  208     EXPECT_FALSE(!!Err) << "Client.callAsync failed for void(bool)";
  214     EXPECT_FALSE(!!Err) << "Client failed to handle response from void(bool)";
  223       << "Expected one send call to have been made by client";
  228       << "Expected two send calls to have been made by server";
  239             EXPECT_EQ(X, 21) << "Server int(int) receieved unexpected result";
  246         EXPECT_FALSE(!!Err) << "Server failed to handle call to negotiate";
  252         EXPECT_FALSE(!!Err) << "Server failed to handle call to int(int)";
  259           EXPECT_TRUE(!!Result) << "Async int(int) response handler failed";
  261             << "Async int(int) response handler received incorrect result";
  264     EXPECT_FALSE(!!Err) << "Client.callAsync failed for int(int)";
  270     EXPECT_FALSE(!!Err) << "Client failed to handle response from void(bool)";
  285             EXPECT_EQ(B, true) << "Server void(bool) receieved unexpected result";
  293         EXPECT_FALSE(!!Err) << "Server failed to handle call to negotiate";
  299         EXPECT_FALSE(!!Err) << "Server failed to handle call to void(bool)";
  306           EXPECT_FALSE(!!Result) << "Async void(bool) response handler failed";
  309     EXPECT_FALSE(!!Err) << "Client.callAsync failed for void(bool)";
  315     EXPECT_FALSE(!!Err) << "Client failed to handle response from void(bool)";
  330             EXPECT_EQ(X, 21) << "Server int(int) receieved unexpected result";
  337         EXPECT_FALSE(!!Err) << "Server failed to handle call to negotiate";
  343         EXPECT_FALSE(!!Err) << "Server failed to handle call to void(bool)";
  350           EXPECT_TRUE(!!Result) << "Async int(int) response handler failed";
  352             << "Async int(int) response handler received incorrect result";
  355     EXPECT_FALSE(!!Err) << "Client.callAsync failed for int(int)";
  361     EXPECT_FALSE(!!Err) << "Client failed to handle response from void(bool)";
  376       EXPECT_EQ(X, 21) << "Server int(int) receieved unexpected result";
  388         EXPECT_FALSE(!!Err) << "Server failed to handle call to negotiate";
  394         EXPECT_FALSE(!!Err) << "Server failed to handle call to void(bool)";
  401           EXPECT_TRUE(!!Result) << "Async int(int) response handler failed";
  403             << "Async int(int) response handler received incorrect result";
  406     EXPECT_FALSE(!!Err) << "Client.callAsync failed for int(int)";
  412     EXPECT_FALSE(!!Err) << "Client failed to handle response from void(bool)";
  427               << "Server void(std::string) received unexpected result";
  433         EXPECT_FALSE(!!Err) << "Server failed to handle call";
  440     EXPECT_FALSE(!!Err) << "Client.callAsync failed for void(std::string)";
  446     EXPECT_FALSE(!!Err) << "Client.callAsync failed for void(std::string)";
  452     EXPECT_FALSE(!!Err) << "Client.callAsync failed for void(string)";
  472       EXPECT_EQ(S8, -101) << "int8_t serialization broken";
  473       EXPECT_EQ(U8, 250) << "uint8_t serialization broken";
  474       EXPECT_EQ(S16, -10000) << "int16_t serialization broken";
  475       EXPECT_EQ(U16, 10000) << "uint16_t serialization broken";
  476       EXPECT_EQ(S32, -1000000000) << "int32_t serialization broken";
  477       EXPECT_EQ(U32, 1000000000ULL) << "uint32_t serialization broken";
  478       EXPECT_EQ(S64, -10000000000) << "int64_t serialization broken";
  479       EXPECT_EQ(U64, 10000000000ULL) << "uint64_t serialization broken";
  480       EXPECT_EQ(B, true) << "bool serialization broken";
  481       EXPECT_EQ(S, "foo") << "std::string serialization broken";
  483           << "std::vector serialization broken";
  484       EXPECT_EQ(S2, std::set<int>({7, 42})) << "std::set serialization broken";
  486           << "std::map serialization broken";
  493       EXPECT_FALSE(!!Err) << "Server failed to handle call to negotiate";
  499       EXPECT_FALSE(!!Err) << "Server failed to handle call to void(bool)";
  510           EXPECT_FALSE(!!Err) << "Async AllTheTypes response handler failed";
  518     EXPECT_FALSE(!!Err) << "Client.callAsync failed for AllTheTypes";
  524     EXPECT_FALSE(!!Err) << "Client failed to handle response from AllTheTypes";
  542         EXPECT_FALSE(!!Err) << "Server failed to handle call to negotiate";
  548         EXPECT_FALSE(!!Err) << "Server failed to handle call to RPCFoo(RPCFoo)";
  557             << "Async RPCFoo(RPCFoo) response handler failed";
  560     EXPECT_FALSE(!!Err) << "Client.callAsync failed for RPCFoo(RPCFoo)";
  567       << "Client failed to handle response from RPCFoo(RPCFoo)";
  585         EXPECT_FALSE(!!Err) << "Server failed to handle call to negotiate";
  591         EXPECT_FALSE(!!Err) << "Server failed to handle call to RPCFoo(RPCFoo)";
  600             << "Async RPCFoo(RPCFoo) response handler failed";
  603     EXPECT_FALSE(!!Err) << "Client.callAsync failed for RPCFoo(RPCFoo)";
  610       << "Client failed to handle response from RPCFoo(RPCFoo)";
  636                EXPECT_FALSE(!!Err) << "Expected success value";
  666                  << "Incorrect error type";
  671                             << "Incorrect DummyError serialization";
  701                    << "Expected success value";
  703                    << "Incorrect Expected<uint32_t> deserialization";
  733                    << "Expected failure value";
  736                    << "Incorrect error type";
  741                               << "Incorrect DummyError serialization";
  764         EXPECT_FALSE(!!Err) << "Server failed to handle call to int(int)";
  776           EXPECT_TRUE(!!Result) << "Async int(int) response handler failed";
  780       EXPECT_FALSE(!!Err) << "First parallel call failed for int(int)";
  787           EXPECT_TRUE(!!Result) << "Async int(int) response handler failed";
  791       EXPECT_FALSE(!!Err) << "Second parallel call failed for int(int)";
  798           EXPECT_TRUE(!!Result) << "Async int(int) response handler failed";
  802       EXPECT_FALSE(!!Err) << "Third parallel call failed for int(int)";
  808       EXPECT_FALSE(!!Err) << "Client failed to handle response from void(bool)";
  813     EXPECT_EQ(A, 2) << "First parallel call returned bogus result";
  814     EXPECT_EQ(B, 4) << "Second parallel call returned bogus result";
  815     EXPECT_EQ(C, 6) << "Third parallel call returned bogus result";
  851     EXPECT_FALSE(!!Err) << "DummyCalls1::negotiate failed";
  856     EXPECT_FALSE(!!Err) << "DummyCalls3::negotiate failed";
  862       << "Expected CouldNotNegotiate error for attempted negotiate of "
  877         << "Server void(bool) received unexpected result";
  890         << "Server void(bool) received unexpected result";
unittests/ExecutionEngine/Orc/RTDyldObjectLinkingLayerTest.cpp
   95       << "Debug section seen despite ProcessAllSections being false";
   97       << "Expected to see debug section when ProcessAllSections is true";
unittests/ExecutionEngine/Orc/RemoteObjectLayerTest.cpp
  141         << "RPC'd object file has incorrect size";
  144         << "RPC'd object file content does not match original content";
  180         << "Expected error string to be \"AddObjectFailure - Test Message\"";
  212   EXPECT_FALSE(HandleOrErr) << "Expected error from addObject";
  216     << "Expected error string to be \"AddObjectFailure - Test Message\"";
  282         << "Expected error string to be \"Object handle 42 not found\"";
  316   EXPECT_TRUE(!!Err) << "Expected error from removeObject";
  320     << "Expected error string to be \"Object handle 42 not found\"";
  338         << "Expected error string to be \"Object handle 42 not found\"";
  381   EXPECT_TRUE(!!Sym1) << "Symbol 'foobar' should be findable";
  383     << "Symbol 'foobar' does not return the correct address";
  388     EXPECT_FALSE(!!Sym2) << "Symbol 'badsymbol' should not be findable";
  390     EXPECT_TRUE(!!Err) << "Sym2 should contain an error value";
  393       << "Expected symbol-not-found error for Sym2";
  399     EXPECT_FALSE(!!Sym3) << "Symbol 'baz' should convert to false";
  401     EXPECT_FALSE(!!Err) << "Symbol 'baz' should not contain an error";
  420         << "Expected error string to be \"Object handle 42 not found\"";
  470   EXPECT_TRUE(!!Sym1) << "Symbol 'foobar' should be findable";
  472     << "Symbol 'foobar' does not return the correct address";
  475   EXPECT_FALSE(!!Sym2) << "Symbol 'barbaz' should not be findable";
  477   EXPECT_TRUE(!!Err) << "Sym2 should contain an error value";
  480     << "Expected symbol-not-found error for Sym2";
  528   EXPECT_FALSE(!!Err) << "emitAndFinalize should work";
  546         << "Expected bad handle error";
  578   EXPECT_TRUE(!!Err) << "emitAndFinalize should work";
  582     << "emitAndFinalize returned incorrect error";
unittests/ExecutionEngine/Orc/SymbolStringPoolTest.cpp
   27   EXPECT_EQ(P1, P2) << "Failed to unique entries";
   28   EXPECT_NE(P1, P3) << "Inequal pooled symbol strings comparing equal";
   39   EXPECT_EQ(*Foo, "foo") << "Equality on dereferenced string failed";
   47     EXPECT_FALSE(SP.empty()) << "\"s1\" entry in pool should still be retained";
   50   EXPECT_TRUE(SP.empty()) << "pool should be empty";
unittests/FuzzMutate/ReservoirSamplerTest.cpp
   67   EXPECT_LT(Failures, 3) << "Non-uniform distribution?";
unittests/IR/BasicBlockTest.cpp
   38     EXPECT_TRUE(false) << "empty block should have no phis";
unittests/IR/ConstantsTest.cpp
  428         << " T = " << getNameOfType(T);
  428         << " T = " << getNameOfType(T);
  437         << " T = " << getNameOfType(T);
  437         << " T = " << getNameOfType(T);
  450         << " T = " << getNameOfType(T);
  450         << " T = " << getNameOfType(T);
  458         << " T = " << getNameOfType(T);
  458         << " T = " << getNameOfType(T);
unittests/IR/DominatorTreeTest.cpp
   31   ASSERT_NE(F, nullptr) << "Could not find " << FuncName;
   31   ASSERT_NE(F, nullptr) << "Could not find " << FuncName;
unittests/IR/InstructionsTest.cpp
 1109       << "After setting the indirect destination, callbr had an indirect "
 1111       << CBI.getIndirectDest(0)->getName() << "', but a argument of '"
 1111       << CBI.getIndirectDest(0)->getName() << "', but a argument of '"
 1112       << ArgBA->getBasicBlock()->getName() << "'. These should always match:\n"
 1112       << ArgBA->getBasicBlock()->getName() << "'. These should always match:\n"
 1113       << CBI;
unittests/IR/PassBuilderCallbacksTest.cpp
  478       << "Pipeline was: " << PipelineText;
  478       << "Pipeline was: " << PipelineText;
  512       << "Pipeline was: " << PipelineText;
  512       << "Pipeline was: " << PipelineText;
  543       << "Pipeline was: " << PipelineText;
  543       << "Pipeline was: " << PipelineText;
  555       << "Pipeline was: " << PipelineText;
  555       << "Pipeline was: " << PipelineText;
  594       << "Pipeline was: " << PipelineText;
  594       << "Pipeline was: " << PipelineText;
  630       << "Pipeline was: " << PipelineText;
  630       << "Pipeline was: " << PipelineText;
  641       << "Pipeline was: " << PipelineText;
  641       << "Pipeline was: " << PipelineText;
  681       << "Pipeline was: " << PipelineText;
  681       << "Pipeline was: " << PipelineText;
  725       << "Pipeline was: " << PipelineText;
  725       << "Pipeline was: " << PipelineText;
  760       << "Pipeline was: " << PipelineText;
  760       << "Pipeline was: " << PipelineText;
  771       << "Pipeline was: " << PipelineText;
  771       << "Pipeline was: " << PipelineText;
  811       << "Pipeline was: " << PipelineText;
  811       << "Pipeline was: " << PipelineText;
  855       << "Pipeline was: " << PipelineText;
  855       << "Pipeline was: " << PipelineText;
  891       << "Pipeline was: " << PipelineText;
  891       << "Pipeline was: " << PipelineText;
  906       << "Pipeline was: " << PipelineText;
  906       << "Pipeline was: " << PipelineText;
  916       << "Pipeline was: " << PipelineText;
  916       << "Pipeline was: " << PipelineText;
  926       << "Pipeline was: " << PipelineText;
  926       << "Pipeline was: " << PipelineText;
  937       << "Pipeline was: " << PipelineText;
  937       << "Pipeline was: " << PipelineText;
  977       << "Pipeline was: " << PipelineText;
  977       << "Pipeline was: " << PipelineText;
  983       << "Pipeline was: " << PipelineText;
  983       << "Pipeline was: " << PipelineText;
unittests/IR/ValueMapTest.cpp
  139       ADD_FAILURE() << "Iterated through an extra value.";
  159       ADD_FAILURE() << "Iterated through an extra value.";
  188     EXPECT_FALSE(Data.M->try_lock()) << "Mutex should already be locked.";
  192     EXPECT_FALSE(Data.M->try_lock()) << "Mutex should already be locked.";
unittests/IR/ValueTest.cpp
   88   EXPECT_NE(DummyCast0, DummyCast1) << *DummyCast1;
unittests/Passes/PluginsTest.cpp
   50   ASSERT_TRUE(!!Plugin) << "Plugin path: " << PluginPath;
   50   ASSERT_TRUE(!!Plugin) << "Plugin path: " << PluginPath;
unittests/Support/CommandLineTest.cpp
   92   ASSERT_TRUE(Map.count("test-option") == 1) <<
   96   ASSERT_EQ(&TestOption, Retrieved) << "Retrieved wrong option.";
  103       << "Incorrect default option category.";
  111       << "Failed to modify option's option category.";
  115       << "Changing option description failed.";
  119       << "Failed to modify option's Argument string.";
  123       << "Failed to modify option's Value string.";
  126   ASSERT_EQ(cl::Hidden, TestOption.getOptionHiddenFlag()) <<
  168       << "Failed to assign Option Category.";
  184       << "Failed to assign Option Category.";
  190       << "Failed to assign General Category.";
  200       << "Failed to remove General Category.";
  206       << "Failed to assign Option Category.";
  212       << "Failed to assign Another Category.";
  388       << "Failed to hide extra option.";
  390       << "Hid extra option that should be visable.";
  395       << "Hid default option that should be visable.";
  411       << "Failed to hide extra option.";
  413       << "Hid extra option that should be visable.";
  415       << "Hid extra option that should be visable.";
  420       << "Hid default option that should be visable.";
unittests/Support/ErrorTest.cpp
  104   EXPECT_FALSE(E) << "Unexpected error while testing Error 'Success'";
  112       << "Unchecked Error Succes value did not cause abort()";
  138       << "ErrorAsOutParameter did not clear the checked flag on destruction.";
  153       << "Unhandled Error failure value did not cause abort()";
  182   EXPECT_TRUE(CaughtErrorInfo == 42) << "Wrong result from CustomError handler";
  257       << "Wrong result from CustomSubError handler";
  275       << "Activated the wrong Error handler(s)";
  293       << "General Error handler did not shadow specific handler";
  315                         << "CustomErrorInfo2 should be 0 here. "
  322       << "Failed handling compound Error.";
  335     EXPECT_EQ(Sum, 21) << "Failed to correctly append error to error list.";
  349     EXPECT_EQ(Sum, 21) << "Failed to correctly prepend error to error list.";
  366     EXPECT_EQ(Sum, 28) << "Failed to correctly concatenate error lists.";
  395       << "Unhandled Error in handleAllErrors call did not cause an "
  415       << " Error returned from handler in handleAllErrors call did not "
  432       << "Failed to handle Error returned from handleErrors.";
  440   EXPECT_EQ(S.str(), "foo42\n") << "Unexpected StringError log result";
  445     << "Failed to convert StringError to error_code.";
  456     << "Unexpected createStringError() log result";
  462     << "Unexpected createStringError() (overloaded) log result";
  468     << "Failed to convert createStringError() result to error_code.";
  484       << "exitOnError returned an invalid value for Expected";
  488   EXPECT_EQ(&A, &B) << "ExitOnError failed to propagate reference";
  493       << "exitOnError returned an unexpected error result";
  497       << "exitOnError returned an unexpected error result";
  505   EXPECT_EQ(X, 42) << "Expected value modified by cantFail";
  509   EXPECT_EQ(&Dummy, &Y) << "Reference mangled by cantFail";
  520       << "cantFail(Error) did not cause an abort for failure value";
  529     << "cantFail(Expected<int>) did not cause an abort for failure value";
  537   EXPECT_TRUE(!!A) << "Expected with non-error value doesn't convert to 'true'";
  539   EXPECT_EQ(*A, 7) << "Incorrect Expected non-error value";
  549   EXPECT_EQ(&A, &C) << "Expected failed to propagate reference";
  559     << "Unchecekd Expected<T> success value did not cause an abort().";
  570     << "Unchecekd Expected<T> success value did not cause an abort().";
  581     << "Unchecekd Expected<T> success value did not cause an abort().";
  588   EXPECT_FALSE(!!A) << "Expected with error value doesn't convert to 'false'";
  590   EXPECT_TRUE(E.isA<CustomError>()) << "Incorrect Expected error value";
  601       << "Incorrect Expected error value";
  613       << "Unchecked Expected<T> failure value did not cause an abort()";
  643     << "handleExpected should have returned a success value here";
  645     << "handleExpected should have returned the original success value here";
  666     << "handleExpected should have returned an error here";
  669     << "handleExpected should have returned the CustomError generated by "
  685     << "handleExpected should have returned a success value here";
  687     << "handleExpected returned the wrong success value";
  694       << "std::error_code() should round-trip via Error conversions";
  699       << "std::error_code error value should round-trip via Error "
  709       << "ErrorOr<T> success value should round-trip via Expected<T> "
  721       << "ErrorOr<T> failure value should round-trip via Expected<T> "
  840       << "Failed to round-trip Error success value via C API";
  843       << "Failed to round-trip Error failure value via C API";
  848       << "Failed to match error type ids via C API";
  851       << "Failed to roundtrip StringError error message via C API";
  865   EXPECT_TRUE(GotCSE) << "Failed to round-trip ErrorList via C API";
  866   EXPECT_TRUE(GotCE) << "Failed to round-trip ErrorList via C API";
unittests/Support/FileCheckTest.cpp
   51   EXPECT_TRUE(ExpectedUndefVarNames.empty()) << toString(ExpectedUndefVarNames);
unittests/Support/ItaniumManglingCanonicalizerTest.cpp
  289           << "couldn't add equivalence between " << Equiv.First << " and "
  289           << "couldn't add equivalence between " << Equiv.First << " and "
  289           << "couldn't add equivalence between " << Equiv.First << " and "
  290           << Equiv.Second;
  309         EXPECT_NE(ThisKey, CanonKey()) << "couldn't canonicalize " << Str;
  309         EXPECT_NE(ThisKey, CanonKey()) << "couldn't canonicalize " << Str;
  312               << Str << " not in the same class as " << *Class.begin();
  312               << Str << " not in the same class as " << *Class.begin();
  312               << Str << " not in the same class as " << *Class.begin();
  318           << *Class.begin() << " is in the same class as " << Found[ClassKey];
  318           << *Class.begin() << " is in the same class as " << Found[ClassKey];
  318           << *Class.begin() << " is in the same class as " << Found[ClassKey];
unittests/Support/JSONTest.cpp
  131         FAIL() << "Failed to parse JSON >>> " << S << " <<<: " << E.message();
  131         FAIL() << "Failed to parse JSON >>> " << S << " <<<: " << E.message();
  131         FAIL() << "Failed to parse JSON >>> " << S << " <<<: " << E.message();
  131         FAIL() << "Failed to parse JSON >>> " << S << " <<<: " << E.message();
  169       FAIL() << "Parsed JSON >>> " << S << " <<< but wanted error: " << Msg;
  169       FAIL() << "Parsed JSON >>> " << S << " <<< but wanted error: " << Msg;
  169       FAIL() << "Parsed JSON >>> " << S << " <<< but wanted error: " << Msg;
  169       FAIL() << "Parsed JSON >>> " << S << " <<< but wanted error: " << Msg;
  172         EXPECT_THAT(E.message(), testing::HasSubstr(Msg)) << S;
  379   EXPECT_FALSE(fromJSON(nullptr, V)) << "Not an object " << V;
  379   EXPECT_FALSE(fromJSON(nullptr, V)) << "Not an object " << V;
  380   EXPECT_FALSE(fromJSON(Object{}, V)) << "Missing required field " << V;
  380   EXPECT_FALSE(fromJSON(Object{}, V)) << "Missing required field " << V;
  381   EXPECT_FALSE(fromJSON(Object{{"str", 1}}, V)) << "Wrong type " << V;
  381   EXPECT_FALSE(fromJSON(Object{{"str", 1}}, V)) << "Wrong type " << V;
  384       << "Wrong type for Optional<T> " << V;
  384       << "Wrong type for Optional<T> " << V;
unittests/Support/MemoryBufferTest.cpp
  352     EXPECT_EQ("0123456789abcdef", MB.getBuffer().substr(i, 0x10)) << "i: " << i;
  352     EXPECT_EQ("0123456789abcdef", MB.getBuffer().substr(i, 0x10)) << "i: " << i;
unittests/Support/Path.cpp
 1592       << "getUmask() didn't return previously set umask()";
 1593   EXPECT_EQ(::umask(OldMask), 0022U) << "getUmask() may have changed umask()";
 1611   EXPECT_EQ(Perms.get(), AllRWE) << "Should have ignored umask by default";
 1617   EXPECT_EQ(Perms.get(), AllRWE) << "Should have ignored umask";
 1624       << "Did not respect umask";
 1633       << "Did not respect umask";
 1659   ASSERT_EQ(D1, D2) << "D1: " << TestDirectory << "\nD2: " << path;
 1659   ASSERT_EQ(D1, D2) << "D1: " << TestDirectory << "\nD2: " << path;
 1659   ASSERT_EQ(D1, D2) << "D1: " << TestDirectory << "\nD2: " << path;
 1659   ASSERT_EQ(D1, D2) << "D1: " << TestDirectory << "\nD2: " << path;
unittests/Support/ProgramTest.cpp
  188   EXPECT_FALSE(ExecutionFailed) << error;
  212   ASSERT_FALSE(ExecutionFailed) << Error;
  213   ASSERT_NE(PI1.Pid, ProcessInfo::InvalidPid) << "Invalid process id";
  227   EXPECT_EQ(LoopCount, 1u) << "LoopCount should be 1";
  231   ASSERT_FALSE(ExecutionFailed) << Error;
  232   ASSERT_NE(PI2.Pid, ProcessInfo::InvalidPid) << "Invalid process id";
  244   ASSERT_GT(LoopCount, 1u) << "LoopCount should be >1";
  280     ASSERT_TRUE(RetCode < 0) << "On error ExecuteAndWait should return 0 or "
  292         << "On error ExecuteNoWait should return an invalid ProcessInfo";
unittests/Support/TypeNameTest.cpp
   32   EXPECT_TRUE(S1Name.endswith("::N1::S1")) << S1Name.str();
   33   EXPECT_TRUE(C1Name.endswith("::N1::C1")) << C1Name.str();
   34   EXPECT_TRUE(U1Name.endswith("::N1::U1")) << U1Name.str();
   36   EXPECT_TRUE(S2Name.endswith("S2")) << S2Name.str();
unittests/Support/VirtualFileSystemTest.cpp
  431     EXPECT_FALSE(EC) << EC.message();
  958   ASSERT_EQ(Stat.getError(), errc::no_such_file_or_directory) << FS.toString();
  960   ASSERT_EQ(Stat.getError(), errc::no_such_file_or_directory) << FS.toString();
  967   ASSERT_FALSE(Stat.getError()) << Stat.getError() << FS.toString();
  967   ASSERT_FALSE(Stat.getError()) << Stat.getError() << FS.toString();
  970   ASSERT_FALSE(Stat.getError()) << Stat.getError() << FS.toString();
  970   ASSERT_FALSE(Stat.getError()) << Stat.getError() << FS.toString();
  973   ASSERT_FALSE(Stat.getError()) << Stat.getError() << FS.toString();
  973   ASSERT_FALSE(Stat.getError()) << Stat.getError() << FS.toString();
  980   ASSERT_FALSE(Stat.getError()) << Stat.getError() << FS.toString();
  980   ASSERT_FALSE(Stat.getError()) << Stat.getError() << FS.toString();
  984   ASSERT_FALSE(Stat.getError()) << Stat.getError() << FS.toString();
  984   ASSERT_FALSE(Stat.getError()) << Stat.getError() << FS.toString();
  986   ASSERT_FALSE(Stat.getError()) << Stat.getError() << "\n" << FS.toString();
  986   ASSERT_FALSE(Stat.getError()) << Stat.getError() << "\n" << FS.toString();
  986   ASSERT_FALSE(Stat.getError()) << Stat.getError() << "\n" << FS.toString();
  994   ASSERT_FALSE(Stat.getError()) << Stat.getError() << "\n" << FS.toString();
  994   ASSERT_FALSE(Stat.getError()) << Stat.getError() << "\n" << FS.toString();
  994   ASSERT_FALSE(Stat.getError()) << Stat.getError() << "\n" << FS.toString();
 1012   ASSERT_EQ(File.getError(), errc::invalid_argument) << FS.toString();
 1014   ASSERT_EQ(File.getError(), errc::no_such_file_or_directory) << FS.toString();
 1062   ASSERT_FALSE(Stat.getError()) << Stat.getError() << "\n" << FS.toString();
 1062   ASSERT_FALSE(Stat.getError()) << Stat.getError() << "\n" << FS.toString();
 1062   ASSERT_FALSE(Stat.getError()) << Stat.getError() << "\n" << FS.toString();
 1067   ASSERT_FALSE(Stat.getError()) << Stat.getError() << "\n" << FS.toString();
 1067   ASSERT_FALSE(Stat.getError()) << Stat.getError() << "\n" << FS.toString();
 1067   ASSERT_FALSE(Stat.getError()) << Stat.getError() << "\n" << FS.toString();
 1116   ASSERT_FALSE(Stat.getError()) << Stat.getError() << "\n" << FS.toString();
 1116   ASSERT_FALSE(Stat.getError()) << Stat.getError() << "\n" << FS.toString();
 1116   ASSERT_FALSE(Stat.getError()) << Stat.getError() << "\n" << FS.toString();
 1120   ASSERT_FALSE(Stat.getError()) << Stat.getError() << "\n" << FS.toString();
 1120   ASSERT_FALSE(Stat.getError()) << Stat.getError() << "\n" << FS.toString();
 1120   ASSERT_FALSE(Stat.getError()) << Stat.getError() << "\n" << FS.toString();
 1124   ASSERT_FALSE(Stat.getError()) << Stat.getError() << "\n" << FS.toString();
 1124   ASSERT_FALSE(Stat.getError()) << Stat.getError() << "\n" << FS.toString();
 1124   ASSERT_FALSE(Stat.getError()) << Stat.getError() << "\n" << FS.toString();
 1133   ASSERT_FALSE(Stat.getError()) << Stat.getError() << "\n" << FS.toString();
 1133   ASSERT_FALSE(Stat.getError()) << Stat.getError() << "\n" << FS.toString();
 1133   ASSERT_FALSE(Stat.getError()) << Stat.getError() << "\n" << FS.toString();
 1138   ASSERT_FALSE(Stat.getError()) << Stat.getError() << "\n" << FS.toString();
 1138   ASSERT_FALSE(Stat.getError()) << Stat.getError() << "\n" << FS.toString();
 1138   ASSERT_FALSE(Stat.getError()) << Stat.getError() << "\n" << FS.toString();
 1141   ASSERT_FALSE(Stat.getError()) << Stat.getError() << "\n" << FS.toString();
 1141   ASSERT_FALSE(Stat.getError()) << Stat.getError() << "\n" << FS.toString();
 1141   ASSERT_FALSE(Stat.getError()) << Stat.getError() << "\n" << FS.toString();
 1151   ASSERT_FALSE(Stat.getError()) << Stat.getError() << "\n" << FS.toString();
 1151   ASSERT_FALSE(Stat.getError()) << Stat.getError() << "\n" << FS.toString();
 1151   ASSERT_FALSE(Stat.getError()) << Stat.getError() << "\n" << FS.toString();
 1154   ASSERT_FALSE(Stat.getError()) << Stat.getError() << "\n" << FS.toString();
 1154   ASSERT_FALSE(Stat.getError()) << Stat.getError() << "\n" << FS.toString();
 1154   ASSERT_FALSE(Stat.getError()) << Stat.getError() << "\n" << FS.toString();
 1157   ASSERT_FALSE(Stat.getError()) << Stat.getError() << "\n" << FS.toString();
 1157   ASSERT_FALSE(Stat.getError()) << Stat.getError() << "\n" << FS.toString();
 1157   ASSERT_FALSE(Stat.getError()) << Stat.getError() << "\n" << FS.toString();
 1166   ASSERT_FALSE(Stat.getError()) << Stat.getError() << "\n" << FS.toString();
 1166   ASSERT_FALSE(Stat.getError()) << Stat.getError() << "\n" << FS.toString();
 1166   ASSERT_FALSE(Stat.getError()) << Stat.getError() << "\n" << FS.toString();
 1172   ASSERT_FALSE(Stat.getError()) << Stat.getError() << "\n" << FS.toString();
 1172   ASSERT_FALSE(Stat.getError()) << Stat.getError() << "\n" << FS.toString();
 1172   ASSERT_FALSE(Stat.getError()) << Stat.getError() << "\n" << FS.toString();
 1178   ASSERT_FALSE(Stat.getError()) << Stat.getError() << "\n" << FS.toString();
 1178   ASSERT_FALSE(Stat.getError()) << Stat.getError() << "\n" << FS.toString();
 1178   ASSERT_FALSE(Stat.getError()) << Stat.getError() << "\n" << FS.toString();
 1190   ASSERT_FALSE(Stat.getError()) << Stat.getError() << "\n" << FS.toString();
 1190   ASSERT_FALSE(Stat.getError()) << Stat.getError() << "\n" << FS.toString();
 1190   ASSERT_FALSE(Stat.getError()) << Stat.getError() << "\n" << FS.toString();
 1193   ASSERT_FALSE(Stat.getError()) << Stat.getError() << "\n" << FS.toString();
 1193   ASSERT_FALSE(Stat.getError()) << Stat.getError() << "\n" << FS.toString();
 1193   ASSERT_FALSE(Stat.getError()) << Stat.getError() << "\n" << FS.toString();
 1207   ASSERT_FALSE(Stat.getError()) << Stat.getError() << "\n"
 1207   ASSERT_FALSE(Stat.getError()) << Stat.getError() << "\n"
 1208                                 << NormalizedFS.toString();
 1214   ASSERT_FALSE(File.getError()) << File.getError() << "\n"
 1214   ASSERT_FALSE(File.getError()) << File.getError() << "\n"
 1215                                 << NormalizedFS.toString();
 1217   ASSERT_FALSE(Stat.getError()) << Stat.getError() << "\n"
 1217   ASSERT_FALSE(Stat.getError()) << Stat.getError() << "\n"
 1218                                 << NormalizedFS.toString();
unittests/Support/YAMLIOTest.cpp
  301         << "Parsing error occurred during deserialization. Serialized string:\n"
  302         << Serialized;
unittests/Support/YAMLParserTest.cpp
   35   EXPECT_FALSE(Stream.validate()) << Message << ": " << Input;
   35   EXPECT_FALSE(Stream.validate()) << Message << ": " << Input;
   35   EXPECT_FALSE(Stream.validate()) << Message << ": " << Input;
   36   EXPECT_TRUE(Stream.failed()) << Message << ": " << Input;
   36   EXPECT_TRUE(Stream.failed()) << Message << ": " << Input;
   36   EXPECT_TRUE(Stream.failed()) << Message << ": " << Input;
   43   EXPECT_TRUE(Stream.validate()) << Message << ": " << Input;
   43   EXPECT_TRUE(Stream.validate()) << Message << ": " << Input;
   43   EXPECT_TRUE(Stream.validate()) << Message << ": " << Input;
unittests/Target/ARM/MachineInstrTest.cpp
  502                 << MII->getName(i)
  503                 << ": mismatched expectation for tail-predicated safety\n";
unittests/Transforms/Utils/CloningTest.cpp
  364   ASSERT_NE(F, nullptr) << "Could not find " << FuncName;
  364   ASSERT_NE(F, nullptr) << "Could not find " << FuncName;
unittests/Transforms/Utils/LocalTest.cpp
  171   ASSERT_NE(F, nullptr) << "Could not find " << FuncName;
  171   ASSERT_NE(F, nullptr) << "Could not find " << FuncName;
unittests/XRay/FDRProducerConsumerTest.cpp
  137     FAIL() << HeaderOrErr.takeError();
  145       FAIL() << R.takeError();
  147       FAIL() << E;
  178     FAIL() << HeaderOrErr.takeError();
  186       FAIL() << R.takeError();
  188       FAIL() << E;
unittests/XRay/FDRTraceWriterTest.cpp
   61     FAIL() << TraceOrErr.takeError();
  106     FAIL() << TraceOrErr.takeError();
  165     FAIL() << TraceOrErr.takeError();
unittests/XRay/ProfileTest.cpp
   42     FAIL() << "Error: " << PathOrError.takeError();
   42     FAIL() << "Error: " << PathOrError.takeError();
unittests/tools/llvm-cfi-verify/GraphBuilder.cpp
  174       << PrintToString(Result);
  201       << PrintToString(Result);
  232       << PrintToString(Result);
  241       << PrintToString(Result);
  271       << PrintToString(Result);
  280       << PrintToString(Result);
  342       << PrintToString(Result);
  367       << PrintToString(Result);
  410       << PrintToString(Result);
  445       << PrintToString(Result);
  478       << PrintToString(Result);
  488       << PrintToString(Result);
  558       << PrintToString(Result);
  570       << PrintToString(Result);
  581       << PrintToString(Result);
  591       << PrintToString(Result);
unittests/tools/llvm-exegesis/Common/AssemblerUtils.h
   66     EXPECT_TRUE(TheTarget) << Error << " " << TT;
   66     EXPECT_TRUE(TheTarget) << Error << " " << TT;
   66     EXPECT_TRUE(TheTarget) << Error << " " << TT;
   70     EXPECT_TRUE(TM) << TT << " " << CpuName;
   70     EXPECT_TRUE(TM) << TT << " " << CpuName;
   70     EXPECT_TRUE(TM) << TT << " " << CpuName;
unittests/tools/llvm-exegesis/X86/SnippetGeneratorTest.cpp
   90   EXPECT_THAT(IT.VariableValues[0], IsInvalid()) << "Immediate is not set";
  113   EXPECT_THAT(IT.VariableValues[0], IsInvalid()) << "Operand 1 is not set";
  114   EXPECT_THAT(IT.VariableValues[1], IsInvalid()) << "Operand 2 is not set";
  138       << "Op0 is either set to Op1 or to Op2";
  170   ASSERT_THAT(CodeTemplates, SizeIs(Gt(1U))) << "Many templates are available";
  190   ASSERT_THAT(CodeTemplates, SizeIs(Gt(1U))) << "Many templates are available";
  267       << "Each instruction writes to a different register";
  296       << "Def is different from first Use";
  298       << "Def is different from second Use";
utils/unittest/googlemock/include/gmock/gmock-matchers.h
 3251     return Message() << count << (count == 1 ? " element" : " elements");
 3342     return Message() << n << " element" << (n == 1 ? "" : "s");
 3342     return Message() << n << " element" << (n == 1 ? "" : "s");
utils/unittest/googletest/include/gtest/gtest-message.h
  245   return (Message() << streamable).GetString();
utils/unittest/googletest/include/gtest/gtest.h
  306     AppendMessage(Message() << value);
utils/unittest/googletest/include/gtest/internal/gtest-param-util.h
  379   name_stream << info.index;
  585           test_name_stream << test_info->test_base_name << "/" << param_name;
  585           test_name_stream << test_info->test_base_name << "/" << param_name;
  585           test_name_stream << test_info->test_base_name << "/" << param_name;
utils/unittest/googletest/src/gtest-death-test.cc
  203     m << "Exited with exit status " << WEXITSTATUS(exit_code);
  203     m << "Exited with exit status " << WEXITSTATUS(exit_code);
  205     m << "Terminated by signal " << WTERMSIG(exit_code);
  205     m << "Terminated by signal " << WTERMSIG(exit_code);
  209     m << " (core dumped)";
  230   msg << "Death tests use fork(), which is unsafe particularly"
  231       << " in a threaded context. For this test, " << GTEST_NAME_ << " ";
  231       << " in a threaded context. For this test, " << GTEST_NAME_ << " ";
  231       << " in a threaded context. For this test, " << GTEST_NAME_ << " ";
  233     msg << "couldn't detect the number of threads.";
  235     msg << "detected " << thread_count << " threads.";
  235     msg << "detected " << thread_count << " threads.";
  235     msg << "detected " << thread_count << " threads.";
  331       error << buffer;
  550   buffer << "Death test: " << statement() << "\n";
  550   buffer << "Death test: " << statement() << "\n";
  553       buffer << "    Result: failed to die.\n"
  554              << " Error msg:\n" << FormatDeathTestOutput(error_message);
  554              << " Error msg:\n" << FormatDeathTestOutput(error_message);
  557       buffer << "    Result: threw an exception.\n"
  558              << " Error msg:\n" << FormatDeathTestOutput(error_message);
  558              << " Error msg:\n" << FormatDeathTestOutput(error_message);
  561       buffer << "    Result: illegal return in test statement.\n"
  562              << " Error msg:\n" << FormatDeathTestOutput(error_message);
  562              << " Error msg:\n" << FormatDeathTestOutput(error_message);
  570           buffer << "    Result: died but not with expected error.\n"
  571                  << "  Expected: " << regex()->pattern() << "\n"
  571                  << "  Expected: " << regex()->pattern() << "\n"
  572                  << "Actual msg:\n" << FormatDeathTestOutput(error_message);
  572                  << "Actual msg:\n" << FormatDeathTestOutput(error_message);
  575         buffer << "    Result: died but not with expected exit code:\n"
  576                << "            " << ExitSummary(status()) << "\n"
  576                << "            " << ExitSummary(status()) << "\n"
  576                << "            " << ExitSummary(status()) << "\n"
  577                << "Actual msg:\n" << FormatDeathTestOutput(error_message);
  577                << "Actual msg:\n" << FormatDeathTestOutput(error_message);
utils/unittest/googletest/src/gtest-port.cc
  111       (Message() << "/proc/" << getpid() << "/stat").GetString();
  111       (Message() << "/proc/" << getpid() << "/stat").GetString();
  111       (Message() << "/proc/" << getpid() << "/stat").GetString();
  617       << "Regular expression \"" << regex
  618       << "\" is not a valid POSIX Extended regular expression.";
 1136       (Message() << GTEST_FLAG_PREFIX_ << flag).GetString();
 1140     env_var << ToUpper(full_flag.c_str()[i]);
 1158     msg << "WARNING: " << src_text
 1158     msg << "WARNING: " << src_text
 1159         << " is expected to be a 32-bit integer, but actually"
 1160         << " has value \"" << str << "\".\n";
 1160         << " has value \"" << str << "\".\n";
 1175     msg << "WARNING: " << src_text
 1175     msg << "WARNING: " << src_text
 1176         << " is expected to be a 32-bit integer, but actually"
 1177         << " has value " << str << ", which overflows.\n";
 1177         << " has value " << str << ", which overflows.\n";
 1216   if (!ParseInt32(Message() << "Environment variable " << env_var,
 1216   if (!ParseInt32(Message() << "Environment variable " << env_var,
 1219            (Message() << default_value).GetString().c_str());
utils/unittest/googletest/src/gtest-typed-test.cc
   74       errors << "Test " << name << " is listed more than once.\n";
   74       errors << "Test " << name << " is listed more than once.\n";
   74       errors << "Test " << name << " is listed more than once.\n";
   91       errors << "No test named " << name
   91       errors << "No test named " << name
   92              << " can be found in this test case.\n";
  100       errors << "You forgot to list test " << it->first << ".\n";
  100       errors << "You forgot to list test " << it->first << ".\n";
  100       errors << "You forgot to list test " << it->first << ".\n";
utils/unittest/googletest/src/gtest.cc
  642     msg << "Expected: " << expected << "\n"
  642     msg << "Expected: " << expected << "\n"
  642     msg << "Expected: " << expected << "\n"
  643         << "  Actual: " << results.size() << " failures";
  643         << "  Actual: " << results.size() << " failures";
  643         << "  Actual: " << results.size() << " failures";
  645       msg << "\n" << results.GetTestPartResult(i);
  645       msg << "\n" << results.GetTestPartResult(i);
  910       *msg << WideStringToUtf8(wstr + i, static_cast<int>(length - i));
  914       *msg << '\0';
  955   return *this << internal::String::ShowWideCString(wide_c_str);
  958   return *this << internal::String::ShowWideCString(wide_c_str);
 1318   msg << "      Expected: " << lhs_expression;
 1320     msg << "\n      Which is: " << lhs_value;
 1320     msg << "\n      Which is: " << lhs_value;
 1322   msg << "\nTo be equal to: " << rhs_expression;
 1324     msg << "\n      Which is: " << rhs_value;
 1324     msg << "\n      Which is: " << rhs_value;
 1328     msg << "\nIgnoring case";
 1337       msg << "\nWith diff:\n"
 1338           << edit_distance::CreateUnifiedDiff(lhs_lines, rhs_lines);
 1353   msg << "Value of: " << expression_text
 1354       << "\n  Actual: " << actual_predicate_value;
 1356     msg << " (" << actual_message << ")";
 1356     msg << " (" << actual_message << ")";
 1357   msg << "\nExpected: " << expected_predicate_value;
 2131       word_list << ", ";
 2134       word_list << "and ";
 2136     word_list << "'" << words[i] << "'";
 2136     word_list << "'" << words[i] << "'";
 2136     word_list << "'" << words[i] << "'";
 2145     ADD_FAILURE() << "Reserved key used in RecordProperty(): " << property_name
 2145     ADD_FAILURE() << "Reserved key used in RecordProperty(): " << property_name
 2146                   << " (" << FormatWordList(reserved_names)
 2146                   << " (" << FormatWordList(reserved_names)
 2147                   << " are reserved by " << GTEST_NAME_ << ")";
 2147                   << " are reserved by " << GTEST_NAME_ << ")";
 2147                   << " are reserved by " << GTEST_NAME_ << ")";
 2244   value_message << value;
 2302           << "All tests in the same test case must use the same test fixture\n"
 2303           << "class, so mixing TEST_F and TEST in the same test case is\n"
 2304           << "illegal.  In test case " << this_test_info->test_case_name()
 2305           << ",\n"
 2306           << "test " << TEST_F_name << " is defined using TEST_F but\n"
 2306           << "test " << TEST_F_name << " is defined using TEST_F but\n"
 2307           << "test " << TEST_name << " is defined using TEST.  You probably\n"
 2307           << "test " << TEST_name << " is defined using TEST.  You probably\n"
 2308           << "want to change the TEST to TEST_F or move it to another test\n"
 2309           << "case.";
 2314           << "All tests in the same test case must use the same test fixture\n"
 2315           << "class.  However, in test case "
 2316           << this_test_info->test_case_name() << ",\n"
 2317           << "you defined test " << first_test_name
 2318           << " and test " << this_test_name << "\n"
 2318           << " and test " << this_test_name << "\n"
 2319           << "using two different test fixture classes.  This can happen if\n"
 2320           << "the two classes are from different namespaces or translation\n"
 2321           << "units and have the same name.  You should probably rename one\n"
 2322           << "of the classes to put the tests into different test cases.";
 2565       << "Attempted redefinition of test case " << test_case_name << ".\n"
 2565       << "Attempted redefinition of test case " << test_case_name << ".\n"
 2566       << "All tests in the same test case must use the same test fixture\n"
 2567       << "class.  However, in test case " << test_case_name << ", you tried\n"
 2567       << "class.  However, in test case " << test_case_name << ", you tried\n"
 2568       << "to define a test using a fixture class different from the one\n"
 2569       << "used earlier. This can happen if the two fixture classes are\n"
 2570       << "from different namespaces and have the same name. You should\n"
 2571       << "probably rename one of the classes to put the tests into different\n"
 2572       << "test cases.";
 2853           << internal::FormatFileLocation(test_part_result.file_name(),
 2855           << " " << TestPartResultTypeToString(test_part_result.type())
 3484         m << "&lt;";
 3487         m << "&gt;";
 3490         m << "&amp;";
 3494           m << "&apos;";
 3496           m << '\'';
 3500           m << "&quot;";
 3502           m << '"';
 3507             m << "&#x" << String::FormatByte(static_cast<unsigned char>(ch))
 3507             m << "&#x" << String::FormatByte(static_cast<unsigned char>(ch))
 3508               << ";";
 3510             m << ch;
 3746     attributes << " " << property.key() << "="
 3746     attributes << " " << property.key() << "="
 3747         << "\"" << EscapeXmlAttribute(property.value()) << "\"";
 3747         << "\"" << EscapeXmlAttribute(property.value()) << "\"";
 3747         << "\"" << EscapeXmlAttribute(property.value()) << "\"";
 4115   msg << message;
 4119     msg << "\n" << GTEST_NAME_ << " trace:";
 4119     msg << "\n" << GTEST_NAME_ << " trace:";
 4119     msg << "\n" << GTEST_NAME_ << " trace:";
 4124       msg << "\n" << internal::FormatFileLocation(trace.file, trace.line)
 4124       msg << "\n" << internal::FormatFileLocation(trace.file, trace.line)
 4125           << " " << trace.message;
 4125           << " " << trace.message;
 4130     msg << internal::kStackTraceMarker << os_stack_trace;
 4130     msg << internal::kStackTraceMarker << os_stack_trace;
 4729       << "Invalid environment variables: you have "
 4730       << kTestShardIndex << " = " << shard_index
 4730       << kTestShardIndex << " = " << shard_index
 4730       << kTestShardIndex << " = " << shard_index
 4731       << ", but have left " << kTestTotalShards << " unset.\n";
 4731       << ", but have left " << kTestTotalShards << " unset.\n";
 4731       << ", but have left " << kTestTotalShards << " unset.\n";
 4737       << "Invalid environment variables: you have "
 4738       << kTestTotalShards << " = " << total_shards
 4738       << kTestTotalShards << " = " << total_shards
 4738       << kTestTotalShards << " = " << total_shards
 4739       << ", but have left " << kTestShardIndex << " unset.\n";
 4739       << ", but have left " << kTestShardIndex << " unset.\n";
 4739       << ", but have left " << kTestShardIndex << " unset.\n";
 4745       << "Invalid environment variables: we require 0 <= "
 4746       << kTestShardIndex << " < " << kTestTotalShards
 4746       << kTestShardIndex << " < " << kTestTotalShards
 4746       << kTestShardIndex << " < " << kTestTotalShards
 4747       << ", but you have " << kTestShardIndex << "=" << shard_index
 4747       << ", but you have " << kTestShardIndex << "=" << shard_index
 4747       << ", but you have " << kTestShardIndex << "=" << shard_index
 4747       << ", but you have " << kTestShardIndex << "=" << shard_index
 4748       << ", " << kTestTotalShards << "=" << total_shards << ".\n";
 4748       << ", " << kTestTotalShards << "=" << total_shards << ".\n";
 4748       << ", " << kTestTotalShards << "=" << total_shards << ".\n";
 4748       << ", " << kTestTotalShards << "=" << total_shards << ".\n";
 4748       << ", " << kTestTotalShards << "=" << total_shards << ".\n";
 4767   if (!ParseInt32(Message() << "The value of environment variable " << var,
 5078   return ParseInt32(Message() << "The value of flag --" << flag,