#include "AST.h"
#include "Annotations.h"
#include "Matchers.h"
#include "ParsedAST.h"
#include "TestFS.h"
#include "TestTU.h"
#include "XRefs.h"
#include "clang/AST/DeclCXX.h"
#include "clang/AST/DeclTemplate.h"
#include "llvm/Support/Path.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include <vector>
namespace clang {
namespace clangd {
namespace {
AllOf;
ElementsAre;
Field;
IsEmpty;
Matcher;
SizeIs;
UnorderedElementsAre;
MATCHER_P(withName, N, "") { … }
MATCHER_P(withKind, Kind, "") { … }
MATCHER_P(selectionRangeIs, R, "") { … }
template <class... ParentMatchers>
::testing::Matcher<TypeHierarchyItem> parents(ParentMatchers... ParentsM) { … }
template <class... ChildMatchers>
::testing::Matcher<TypeHierarchyItem> children(ChildMatchers... ChildrenM) { … }
MATCHER(parentsNotResolved, "") { … }
MATCHER(childrenNotResolved, "") { … }
MATCHER_P(withResolveID, SID, "") { … }
MATCHER_P(withResolveParents, M, "") { … }
TEST(FindRecordTypeAt, TypeOrVariable) { … }
TEST(FindRecordTypeAt, Nonexistent) { … }
TEST(FindRecordTypeAt, Method) { … }
TEST(FindRecordTypeAt, Field) { … }
TEST(TypeParents, SimpleInheritance) { … }
TEST(TypeParents, MultipleInheritance) { … }
TEST(TypeParents, ClassTemplate) { … }
MATCHER_P(implicitSpecOf, ClassTemplate, "") { … }
const NamedDecl &findDeclWithTemplateArgs(ParsedAST &AST,
llvm::StringRef Query) { … }
TEST(TypeParents, TemplateSpec1) { … }
TEST(TypeParents, TemplateSpec2) { … }
TEST(TypeParents, DependentBase) { … }
TEST(TypeParents, IncompleteClass) { … }
TEST(TypeHierarchy, Parents) { … }
TEST(TypeHierarchy, RecursiveHierarchyUnbounded) { … }
TEST(TypeHierarchy, RecursiveHierarchyBounded) { … }
TEST(TypeHierarchy, DeriveFromImplicitSpec) { … }
TEST(TypeHierarchy, DeriveFromPartialSpec) { … }
TEST(TypeHierarchy, DeriveFromTemplate) { … }
TEST(TypeHierarchy, Preamble) { … }
SymbolID findSymbolIDByName(SymbolIndex *Index, llvm::StringRef Name,
llvm::StringRef TemplateArgs = "") { … }
std::vector<SymbolID> collectSubtypes(SymbolID Subject, SymbolIndex *Index) { … }
TEST(Subtypes, SimpleInheritance) { … }
TEST(Subtypes, MultipleInheritance) { … }
TEST(Subtypes, ClassTemplate) { … }
TEST(Subtypes, TemplateSpec1) { … }
TEST(Subtypes, TemplateSpec2) { … }
TEST(Subtypes, DependentBase) { … }
TEST(Subtypes, LazyResolution) { … }
TEST(Standard, SubTypes) { … }
TEST(Standard, SuperTypes) { … }
}
}
}