diff options
Diffstat (limited to 'clang/unittests/AST/ASTContextParentMapTest.cpp')
-rw-r--r-- | clang/unittests/AST/ASTContextParentMapTest.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/clang/unittests/AST/ASTContextParentMapTest.cpp b/clang/unittests/AST/ASTContextParentMapTest.cpp index b1d7db4164e..94e9735654c 100644 --- a/clang/unittests/AST/ASTContextParentMapTest.cpp +++ b/clang/unittests/AST/ASTContextParentMapTest.cpp @@ -38,19 +38,6 @@ TEST(GetParents, ReturnsParentForStmt) { ifStmt(hasParent(compoundStmt())))); } -TEST(GetParents, ReturnsParentForTypeLoc) { - MatchVerifier<TypeLoc> Verifier; - EXPECT_TRUE( - Verifier.match("namespace a { class b {}; } void f(a::b) {}", - typeLoc(hasParent(typeLoc(hasParent(functionDecl())))))); -} - -TEST(GetParents, ReturnsParentForNestedNameSpecifierLoc) { - MatchVerifier<NestedNameSpecifierLoc> Verifier; - EXPECT_TRUE(Verifier.match("namespace a { class b {}; } void f(a::b) {}", - nestedNameSpecifierLoc(hasParent(typeLoc())))); -} - TEST(GetParents, ReturnsParentInsideTemplateInstantiations) { MatchVerifier<Decl> DeclVerifier; EXPECT_TRUE(DeclVerifier.match( |