#include "clang/Frontend/FrontendAction.h"
#include "clang/AST/ASTConsumer.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/RecursiveASTVisitor.h"
#include "clang/Basic/LangStandard.h"
#include "clang/Frontend/CompilerInstance.h"
#include "clang/Frontend/CompilerInvocation.h"
#include "clang/Frontend/FrontendActions.h"
#include "clang/Lex/Preprocessor.h"
#include "clang/Lex/PreprocessorOptions.h"
#include "clang/Sema/Sema.h"
#include "clang/Serialization/InMemoryModuleCache.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/ToolOutputFile.h"
#include "llvm/TargetParser/Triple.h"
#include "gtest/gtest.h"
usingnamespacellvm;
usingnamespaceclang;
namespace {
class TestASTFrontendAction : public ASTFrontendAction { … };
TEST(ASTFrontendAction, Sanity) { … }
TEST(ASTFrontendAction, IncrementalParsing) { … }
TEST(ASTFrontendAction, LateTemplateIncrementalParsing) { … }
struct TestPPCallbacks : public PPCallbacks { … };
class TestPPCallbacksFrontendAction : public PreprocessorFrontendAction { … };
TEST(PreprocessorFrontendAction, EndSourceFile) { … }
class TypoExternalSemaSource : public ExternalSemaSource { … };
struct TypoDiagnosticConsumer : public DiagnosticConsumer { … };
TEST(ASTFrontendAction, ExternalSemaSource) { … }
TEST(GeneratePCHFrontendAction, CacheGeneratedPCH) { … }
}