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

Declarations

utils/unittest/googletest/include/gtest/gtest.h
 1679   void operator=(const Message& message) const;

References

tools/clang/tools/extra/clangd/unittests/BackgroundIndexTests.cpp
   72       ADD_FAILURE() << "Error while reading " << ShardIdentifier << ':'
tools/clang/tools/extra/clangd/unittests/FindTargetTests.cpp
   84       ADD_FAILURE() << "No node selected!\n" << Code;
tools/clang/tools/extra/clangd/unittests/FormatTests.cpp
   33       ADD_FAILURE() << llvm::toString(std::move(E));
tools/clang/tools/extra/clangd/unittests/SelectionTests.cpp
   34     ADD_FAILURE() << "Expected 1-2 points for selection.\n" << MarkedCode;
   76     ADD_FAILURE() << "Selected nodes outside common ancestor\n" << MarkedCode;
   81         ADD_FAILURE() << "Saw common ancestor twice\n" << MarkedCode;
tools/clang/tools/extra/clangd/unittests/TUSchedulerTests.cpp
  194                       ADD_FAILURE()
  199                       ADD_FAILURE() << "no diags should not be called back";
  221                       ADD_FAILURE()
  330             ADD_FAILURE() << "Non-cancelled error for " << ID << ": "
  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;
  103       ADD_FAILURE() << "Multiple symbols named " << QName << ":\n"
  111     ADD_FAILURE() << "No symbol named " << QName << " in "
  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";
   59       ADD_FAILURE() << KS << " expected " << I->second << " but actual " << VS;
   65     ADD_FAILURE() << P.first << " missing, expected " << P.second;
tools/clang/tools/extra/clangd/unittests/TweakTesting.cpp
  124         ADD_FAILURE() << "There were changes to additional files, but client "
tools/clang/unittests/AST/ASTImporterTest.cpp
 1325           GTEST_NONFATAL_FAILURE_(
 1351           GTEST_NONFATAL_FAILURE_(
 1379           GTEST_NONFATAL_FAILURE_(
tools/clang/unittests/Driver/MultilibTest.cpp
  192       FAIL() << "Unrecognized gccSufix: " << I->gccSuffix();
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/CompilationDatabaseTest.cpp
   62     ADD_FAILURE() << ErrorMessage;
   75     ADD_FAILURE() << ErrorMessage;
tools/clang/unittests/Tooling/SourceCodeBuildersTest.cpp
   56     ADD_FAILURE() << "AST construction failed";
   63     ADD_FAILURE() << "Wrong number of matches: " << Matches.size();
tools/clang/unittests/Tooling/StencilTest.cpp
   60     ADD_FAILURE() << "AST construction failed";
   67     ADD_FAILURE() << "Wrong number of matches: " << Matches.size();
  100       ADD_FAILURE() << "Expected failure but succeeded: " << *ResultOrErr;
  107         ADD_FAILURE() << "Unhandled error: " << llvm::toString(std::move(Err));
tools/clang/unittests/Tooling/Syntax/TokensTest.cpp
  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;
  219       ADD_FAILURE() << "match is not unique for " << Query;
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;
tools/clang/unittests/Tooling/TransformerTest.cpp
   57     ADD_FAILURE() << "Could not format code: "
tools/lldb/unittests/Symbol/TestClangASTContext.cpp
  203     FAIL() << "Unexpected encoding";
tools/lldb/unittests/Utility/StringListTest.cpp
  512     FAIL() << "Shouldn't have hit an element in for range" << e;
unittests/Analysis/LazyCallGraphTest.cpp
 1147       FAIL() << "Found an unexpected call instruction: " << *CI;
unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp
 1821       FAIL() << "Unexpected attribute value: " << *V;
 1847       FAIL() << "Unexpected attribute value: " << *V;
unittests/ExecutionEngine/JITLink/JITLinkTestCommon.cpp
  145   ADD_FAILURE() << "Unexpected failure: " << toString(std::move(Err));
unittests/ExecutionEngine/JITLink/MachO_x86_64_Tests.cpp
  111       ADD_FAILURE() << "Edge target is not a stub";
unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp
  111         ADD_FAILURE() << "Unexpected materialization of \"Bar\"";
  129         ADD_FAILURE() << "\"Baz\" discarded unexpectedly";
  895         ADD_FAILURE() << "Attempt to materialize Bar from the wrong unit";
  927           ADD_FAILURE() << "Unexpected materialization";
 1016           ADD_FAILURE() << "Expected a FailedToResolve error. Got:\n" << ErrMsg;
unittests/IR/ValueMapTest.cpp
  139       ADD_FAILURE() << "Iterated through an extra value.";
  159       ADD_FAILURE() << "Iterated through an extra value.";
unittests/ProfileData/CoverageMappingTest.cpp
  308 static const auto Err = [](Error E) { FAIL(); };
unittests/ProfileData/InstrProfTest.cpp
   70   FAIL();
unittests/Support/JSONTest.cpp
  131         FAIL() << "Failed to parse JSON >>> " << S << " <<<: " << E.message();
  169       FAIL() << "Parsed JSON >>> " << S << " <<< but wanted error: " << Msg;
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();
utils/unittest/googlemock/src/gmock-internal-utils.cc
   85                  message.c_str()) = Message();
utils/unittest/googletest/src/gtest.cc
 2145     ADD_FAILURE() << "Reserved key used in RecordProperty(): " << property_name
 2301       ADD_FAILURE()
 2313       ADD_FAILURE()