llvm/clang/unittests/Frontend/FrontendActionTest.cpp

//===- unittests/Frontend/FrontendActionTest.cpp - FrontendAction tests ---===//
//
// 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
//
//===----------------------------------------------------------------------===//

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

} // anonymous namespace