#include "clang/AST/ASTConsumer.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/Decl.h"
#include "clang/Basic/SourceLocation.h"
#include "clang/Basic/SourceManager.h"
#include "clang/Frontend/CompilerInstance.h"
#include "clang/Frontend/FrontendAction.h"
#include "clang/Index/IndexDataConsumer.h"
#include "clang/Index/IndexSymbol.h"
#include "clang/Index/IndexingAction.h"
#include "clang/Lex/Preprocessor.h"
#include "clang/Tooling/Tooling.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/VirtualFileSystem.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include <memory>
namespace clang {
namespace index {
namespace {
struct Position { … };
bool operator==(const Position &LHS, const Position &RHS) { … }
llvm::raw_ostream &operator<<(llvm::raw_ostream &OS, const Position &Pos) { … }
struct TestSymbol { … };
llvm::raw_ostream &operator<<(llvm::raw_ostream &OS, const TestSymbol &S) { … }
class Indexer : public IndexDataConsumer { … };
class IndexAction : public ASTFrontendAction { … };
AllOf;
Contains;
Not;
UnorderedElementsAre;
MATCHER_P(QName, Name, "") { … }
MATCHER_P(WrittenAt, Pos, "") { … }
MATCHER_P(DeclAt, Pos, "") { … }
MATCHER_P(Kind, SymKind, "") { … }
MATCHER_P(HasRole, Role, "") { … }
TEST(IndexTest, Simple) { … }
TEST(IndexTest, IndexPreprocessorMacros) { … }
TEST(IndexTest, IndexParametersInDecls) { … }
TEST(IndexTest, IndexLabels) { … }
TEST(IndexTest, IndexExplicitTemplateInstantiation) { … }
TEST(IndexTest, IndexTemplateInstantiationPartial) { … }
TEST(IndexTest, IndexTypeParmDecls) { … }
TEST(IndexTest, UsingDecls) { … }
TEST(IndexTest, Constructors) { … }
TEST(IndexTest, InjecatedNameClass) { … }
TEST(IndexTest, VisitDefaultArgs) { … }
TEST(IndexTest, RelationBaseOf) { … }
TEST(IndexTest, EnumBase) { … }
TEST(IndexTest, NonTypeTemplateParameter) { … }
TEST(IndexTest, ReadWriteRoles) { … }
}
}
}