mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-10 18:11:19 +00:00
[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. llvm-svn: 367026
This commit is contained in:
parent
ca424d100c
commit
207726c882
@ -32,13 +32,6 @@ TEST(HasNameDeathTest, DiesOnEmptyPattern) {
|
||||
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user