llvm/clang/unittests/AST/ASTContextParentMapTest.cpp

//===- unittest/AST/ASTContextParentMapTest.cpp - AST parent map test -----===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
//
// Tests for the getParents(...) methods of ASTContext.
//
//===----------------------------------------------------------------------===//

#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) {}

} // end namespace ast_matchers
} // end namespace clang