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

Declarations

utils/unittest/googletest/include/gtest/internal/gtest-internal.h
   86 class AssertionResult;                 // Result of an assertion.

References

tools/clang/unittests/AST/ASTImporterFixtures.h
  197 ::testing::AssertionResult isSuccess(llvm::Expected<T> &ValOrErr) {
  206 ::testing::AssertionResult isImportError(llvm::Expected<T> &ValOrErr,
tools/clang/unittests/AST/ASTImporterTest.cpp
   61   testing::AssertionResult
  109   testing::AssertionResult
tools/clang/unittests/AST/ASTPrint.h
   61 ::testing::AssertionResult
tools/clang/unittests/AST/CommentParser.cpp
   78 ::testing::AssertionResult HasChildCount(const Comment *C, size_t Count) {
   91 ::testing::AssertionResult GetChildAt(const Comment *C,
  116 ::testing::AssertionResult HasTextAt(const Comment *C,
  120   ::testing::AssertionResult AR = GetChildAt(C, Idx, TC);
  137 ::testing::AssertionResult HasTextWithNewlineAt(const Comment *C,
  141   ::testing::AssertionResult AR = GetChildAt(C, Idx, TC);
  158 ::testing::AssertionResult HasBlockCommandAt(const Comment *C,
  164   ::testing::AssertionResult AR = GetChildAt(C, Idx, BCC);
  179 ::testing::AssertionResult HasParamCommandAt(
  189   ::testing::AssertionResult AR = GetChildAt(C, Idx, PCC);
  227 ::testing::AssertionResult HasTParamCommandAt(
  235   ::testing::AssertionResult AR = GetChildAt(C, Idx, TPCC);
  261 ::testing::AssertionResult HasInlineCommandAt(const Comment *C,
  266   ::testing::AssertionResult AR = GetChildAt(C, Idx, ICC);
  281 ::testing::AssertionResult HasInlineCommandAt(const Comment *C,
  287   ::testing::AssertionResult AR = HasInlineCommandAt(C, Traits, Idx, ICC, Name);
  299 ::testing::AssertionResult HasInlineCommandAt(const Comment *C,
  305   ::testing::AssertionResult AR = HasInlineCommandAt(C, Traits, Idx, ICC, Name);
  323 ::testing::AssertionResult HasHTMLStartTagAt(const Comment *C,
  327   ::testing::AssertionResult AR = GetChildAt(C, Idx, HST);
  342 ::testing::AssertionResult HasHTMLStartTagAt(const Comment *C,
  347   ::testing::AssertionResult AR = HasHTMLStartTagAt(C, Idx, HST, TagName);
  361 ::testing::AssertionResult HasHTMLStartTagAt(const Comment *C,
  366   ::testing::AssertionResult AR = HasHTMLStartTagAt(C, Idx, HST, TagName);
  382 ::testing::AssertionResult HasHTMLStartTagAt(const Comment *C,
  388   ::testing::AssertionResult AR = HasHTMLStartTagAt(C, Idx, HST, TagName);
  416 ::testing::AssertionResult HasHTMLEndTagAt(const Comment *C,
  420   ::testing::AssertionResult AR = GetChildAt(C, Idx, HET);
  433 ::testing::AssertionResult HasParagraphCommentAt(const Comment *C,
  439     ::testing::AssertionResult AR = GetChildAt(C, Idx, PC);
  445     ::testing::AssertionResult AR = HasChildCount(PC, 1);
  451     ::testing::AssertionResult AR = HasTextAt(PC, 0, Text);
  459 ::testing::AssertionResult HasVerbatimBlockAt(const Comment *C,
  465   ::testing::AssertionResult AR = GetChildAt(C, Idx, VBC);
  488 ::testing::AssertionResult HasVerbatimBlockAt(const Comment *C,
  495   ::testing::AssertionResult AR = HasVerbatimBlockAt(C, Traits, Idx, VBC, Name,
  508 ::testing::AssertionResult HasVerbatimBlockAt(const Comment *C,
  516   ::testing::AssertionResult AR = HasVerbatimBlockAt(C, Traits, Idx, VBC, Name,
  535 ::testing::AssertionResult HasVerbatimBlockAt(const Comment *C,
  544   ::testing::AssertionResult AR = HasVerbatimBlockAt(C, Traits, Idx, VBC, Name,
  569 ::testing::AssertionResult HasVerbatimLineAt(const Comment *C,
  575   ::testing::AssertionResult AR = GetChildAt(C, Idx, VLC);
tools/clang/unittests/AST/DataCollectionTest.cpp
   72 static testing::AssertionResult hashStmt(llvm::MD5::MD5Result &Hash,
   93 static testing::AssertionResult
   97   testing::AssertionResult Result = hashStmt(Hash1, StmtMatch, Code1);
tools/clang/unittests/AST/DeclPrinterTest.cpp
   74 ::testing::AssertionResult
  106 ::testing::AssertionResult
  119 ::testing::AssertionResult
  132 ::testing::AssertionResult PrintedDeclCXX11Matches(StringRef Code,
  143 ::testing::AssertionResult PrintedDeclCXX11Matches(
  155 ::testing::AssertionResult PrintedDeclCXX11nonMSCMatches(
  168 ::testing::AssertionResult
  179 ::testing::AssertionResult PrintedDeclObjCMatches(
tools/clang/unittests/AST/MatchVerifier.h
   36   testing::AssertionResult match(const std::string &Code,
   43   testing::AssertionResult match(const std::string &Code,
   51   testing::AssertionResult match(const std::string &Code,
   57   testing::AssertionResult match(const Decl *D, const MatcherType &AMatcher);
   81 testing::AssertionResult MatchVerifier<NodeType>::match(
  135 testing::AssertionResult MatchVerifier<NodeType>::match(
tools/clang/unittests/AST/NamedDeclPrinterTest.cpp
   64 ::testing::AssertionResult PrintedDeclMatches(
   96 ::testing::AssertionResult
  111 ::testing::AssertionResult
  123 ::testing::AssertionResult
  135 ::testing::AssertionResult
  147 ::testing::AssertionResult
tools/clang/unittests/AST/OMPStructuredBlockTest.cpp
   44 ::testing::AssertionResult
   55 static testing::AssertionResult NoMatches(StringRef Code,
tools/clang/unittests/AST/StmtPrinterTest.cpp
   42 ::testing::AssertionResult
   64 ::testing::AssertionResult
   79 ::testing::AssertionResult
tools/clang/unittests/ASTMatchers/ASTMatchersTest.h
   72 testing::AssertionResult matchesConditionally(
  119 testing::AssertionResult matchesConditionally(
  130 testing::AssertionResult
  174     auto Result =
  184 testing::AssertionResult
  191 testing::AssertionResult
  198 testing::AssertionResult matchesObjC(const std::string &Code, const T &AMatcher,
  207 testing::AssertionResult matchesC(const std::string &Code, const T &AMatcher) {
  213 testing::AssertionResult matchesC99(const std::string &Code,
  220 testing::AssertionResult notMatchesC(const std::string &Code,
  227 testing::AssertionResult notMatchesObjC(const std::string &Code,
  236 testing::AssertionResult matchesConditionallyWithCuda(
  294 testing::AssertionResult matchesWithCuda(const std::string &Code,
  300 testing::AssertionResult notMatchesWithCuda(const std::string &Code,
  306 testing::AssertionResult matchesWithOpenMP(const std::string &Code,
  312 testing::AssertionResult notMatchesWithOpenMP(const std::string &Code,
  318 testing::AssertionResult
  364 testing::AssertionResult
  372 testing::AssertionResult
unittests/Analysis/TargetLibraryInfoTest.cpp
   43   ::testing::AssertionResult isLibFunc(const Function *FDecl,
unittests/ProfileData/CoverageMappingTest.cpp
   25 LLVM_NODISCARD static ::testing::AssertionResult
unittests/ProfileData/InstrProfTest.cpp
   23 LLVM_NODISCARD static ::testing::AssertionResult
unittests/ProfileData/SampleProfTest.cpp
   28 static ::testing::AssertionResult NoError(std::error_code EC) {
unittests/Support/ConvertUTFTest.cpp
  183 ::testing::AssertionResult
usr/include/c++/7.4.0/ostream
  642     : __is_convertible_to_basic_ostream_impl<_Tp>
  646         typename __is_convertible_to_basic_ostream_impl<_Tp>::__ostream_type>>;
usr/include/c++/7.4.0/type_traits
 1629     { typedef _Tp   type; };
 1633     { typedef _Tp   type; };
utils/unittest/googlemock/include/gmock/gmock-matchers.h
 1844   AssertionResult operator()(const char* value_text, const T& x) const {
utils/unittest/googletest/include/gtest/gtest.h
  260   AssertionResult(const AssertionResult& other);
  275           !internal::ImplicitlyConvertible<T, AssertionResult>::value>::type*
  282   AssertionResult& operator=(AssertionResult other) {
  282   AssertionResult& operator=(AssertionResult other) {
  291   AssertionResult operator!() const;
  305   template <typename T> AssertionResult& operator<<(const T& value) {
  312   AssertionResult& operator<<(
  327   void swap(AssertionResult& other);
  339 GTEST_API_ AssertionResult AssertionSuccess();
  342 GTEST_API_ AssertionResult AssertionFailure();
  346 GTEST_API_ AssertionResult AssertionFailure(const Message& msg);
 1375 AssertionResult CmpHelperEQFailure(const char* lhs_expression,
 1387 AssertionResult CmpHelperEQ(const char* lhs_expression,
 1403 GTEST_API_ AssertionResult CmpHelperEQ(const char* lhs_expression,
 1417   static AssertionResult Compare(const char* lhs_expression,
 1430   static AssertionResult Compare(const char* lhs_expression,
 1448   static AssertionResult Compare(
 1465   static AssertionResult Compare(
 1486 AssertionResult CmpHelperOpFailure(const char* expr1, const char* expr2,
 1537 GTEST_API_ AssertionResult CmpHelperSTREQ(const char* s1_expression,
 1545 GTEST_API_ AssertionResult CmpHelperSTRCASEEQ(const char* s1_expression,
 1553 GTEST_API_ AssertionResult CmpHelperSTRNE(const char* s1_expression,
 1561 GTEST_API_ AssertionResult CmpHelperSTRCASENE(const char* s1_expression,
 1570 GTEST_API_ AssertionResult CmpHelperSTREQ(const char* s1_expression,
 1578 GTEST_API_ AssertionResult CmpHelperSTRNE(const char* s1_expression,
 1593 GTEST_API_ AssertionResult IsSubstring(
 1596 GTEST_API_ AssertionResult IsSubstring(
 1599 GTEST_API_ AssertionResult IsNotSubstring(
 1602 GTEST_API_ AssertionResult IsNotSubstring(
 1605 GTEST_API_ AssertionResult IsSubstring(
 1608 GTEST_API_ AssertionResult IsNotSubstring(
 1613 GTEST_API_ AssertionResult IsSubstring(
 1616 GTEST_API_ AssertionResult IsNotSubstring(
 1631 AssertionResult CmpHelperFloatingPointEQ(const char* lhs_expression,
 1659 GTEST_API_ AssertionResult DoubleNearPredFormat(const char* expr1,
 2058 GTEST_API_ AssertionResult FloatLE(const char* expr1, const char* expr2,
 2060 GTEST_API_ AssertionResult DoubleLE(const char* expr1, const char* expr2,
utils/unittest/googletest/include/gtest/gtest_pred_impl.h
   87 AssertionResult AssertPred1Helper(const char* pred_text,
  129 AssertionResult AssertPred2Helper(const char* pred_text,
  178 AssertionResult AssertPred3Helper(const char* pred_text,
  234 AssertionResult AssertPred4Helper(const char* pred_text,
  297 AssertionResult AssertPred5Helper(const char* pred_text,
utils/unittest/googletest/include/gtest/internal/gtest-internal.h
  219 GTEST_API_ AssertionResult EqFailure(const char* expected_expression,
  227     const AssertionResult& assertion_result,
  830 struct AddReference { typedef T& type; };  // NOLINT
  863   static typename AddReference<From>::type MakeFrom();
  875   static char Helper(To);
utils/unittest/googletest/src/gtest.cc
  631 AssertionResult HasOneFailure(const char* /* results_expr */,
  987 AssertionResult::AssertionResult(const AssertionResult& other)
  995 void AssertionResult::swap(AssertionResult& other) {
 1002 AssertionResult AssertionResult::operator!() const {
 1003   AssertionResult negation(!success_);
 1010 AssertionResult AssertionSuccess() {
 1015 AssertionResult AssertionFailure() {
 1021 AssertionResult AssertionFailure(const Message& message) {
 1312 AssertionResult EqFailure(const char* lhs_expression,
 1347     const AssertionResult& assertion_result,
 1362 AssertionResult DoubleNearPredFormat(const char* expr1,
 1384 AssertionResult FloatingPointLE(const char* expr1,
 1421 AssertionResult FloatLE(const char* expr1, const char* expr2,
 1428 AssertionResult DoubleLE(const char* expr1, const char* expr2,
 1437 AssertionResult CmpHelperEQ(const char* lhs_expression,
 1487 AssertionResult CmpHelperSTREQ(const char* lhs_expression,
 1503 AssertionResult CmpHelperSTRCASEEQ(const char* lhs_expression,
 1519 AssertionResult CmpHelperSTRNE(const char* s1_expression,
 1533 AssertionResult CmpHelperSTRCASENE(const char* s1_expression,
 1583 AssertionResult IsSubstringImpl(
 1606 AssertionResult IsSubstring(
 1612 AssertionResult IsSubstring(
 1618 AssertionResult IsNotSubstring(
 1624 AssertionResult IsNotSubstring(
 1630 AssertionResult IsSubstring(
 1636 AssertionResult IsNotSubstring(
 1643 AssertionResult IsSubstring(
 1649 AssertionResult IsNotSubstring(
 1869 AssertionResult CmpHelperSTREQ(const char* lhs_expression,
 1885 AssertionResult CmpHelperSTRNE(const char* s1_expression,