#include "clang/AST/ASTContext.h"
#include "MatchVerifier.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/ASTMatchers/ASTMatchers.h"
#include "clang/Tooling/Tooling.h"
#include "gtest/gtest.h"
#include "gmock/gmock.h"
ElementsAre;
namespace clang {
namespace ast_matchers {
TEST(GetParents, ReturnsParentForDecl) { … }
TEST(GetParents, ReturnsParentForStmt) { … }
TEST(GetParents, ReturnsParentForTypeLoc) { … }
TEST(GetParents, ReturnsParentForNestedNameSpecifierLoc) { … }
TEST(GetParents, ReturnsParentInsideTemplateInstantiations) { … }
TEST(GetParents, ReturnsMultipleParentsInTemplateInstantiations) { … }
TEST(GetParents, RespectsTraversalScope) { … }
TEST(GetParents, ImplicitLambdaNodes) { … }
TEST(GetParents, FriendTypeLoc) { … }
}
}