Author: antonbikineev Date: Thu Jul 25 08:09:37 2019 New Revision: 367026 URL: http://llvm.org/viewvc/llvm-project?rev=367026&view=rev Log: [clang] Remove IsDerivedFromDeathTest.DiesOnEmptyBaseName test.
The semantics of an empty basename passed to isDerivedFrom matchers changed in r367022, so this test is no longer relevant. Modified: cfe/trunk/unittests/ASTMatchers/ASTMatchersInternalTest.cpp Modified: cfe/trunk/unittests/ASTMatchers/ASTMatchersInternalTest.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/unittests/ASTMatchers/ASTMatchersInternalTest.cpp?rev=367026&r1=367025&r2=367026&view=diff ============================================================================== --- cfe/trunk/unittests/ASTMatchers/ASTMatchersInternalTest.cpp (original) +++ cfe/trunk/unittests/ASTMatchers/ASTMatchersInternalTest.cpp Thu Jul 25 08:09:37 2019 @@ -32,13 +32,6 @@ TEST(HasNameDeathTest, DiesOnEmptyPatter EXPECT_TRUE(notMatches("class X {};", HasEmptyName)); }, ""); } - -TEST(IsDerivedFromDeathTest, DiesOnEmptyBaseName) { - ASSERT_DEBUG_DEATH({ - DeclarationMatcher IsDerivedFromEmpty = cxxRecordDecl(isDerivedFrom("")); - EXPECT_TRUE(notMatches("class X {};", IsDerivedFromEmpty)); - }, ""); -} #endif TEST(ConstructVariadic, MismatchedTypes_Regression) { _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits