#include "clang/Lex/Preprocessor.h"
#include "clang/AST/ASTConsumer.h"
#include "clang/AST/ASTContext.h"
#include "clang/Basic/Diagnostic.h"
#include "clang/Basic/DiagnosticOptions.h"
#include "clang/Basic/FileManager.h"
#include "clang/Basic/LangOptions.h"
#include "clang/Basic/SourceManager.h"
#include "clang/Basic/TargetInfo.h"
#include "clang/Basic/TargetOptions.h"
#include "clang/Lex/HeaderSearch.h"
#include "clang/Lex/HeaderSearchOptions.h"
#include "clang/Lex/ModuleLoader.h"
#include "clang/Lex/PreprocessorOptions.h"
#include "clang/Parse/Parser.h"
#include "clang/Sema/Sema.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/Support/Path.h"
#include "gtest/gtest.h"
usingnamespaceclang;
namespace {
class InclusionDirectiveCallbacks : public PPCallbacks { … };
class CondDirectiveCallbacks : public PPCallbacks { … };
class PragmaOpenCLExtensionCallbacks : public PPCallbacks { … };
class PragmaMarkCallbacks : public PPCallbacks { … };
class PPCallbacksTest : public ::testing::Test { … };
TEST_F(PPCallbacksTest, UserFileCharacteristics) { … }
TEST_F(PPCallbacksTest, QuotedFilename) { … }
TEST_F(PPCallbacksTest, AngledFilename) { … }
TEST_F(PPCallbacksTest, QuotedInMacro) { … }
TEST_F(PPCallbacksTest, AngledInMacro) { … }
TEST_F(PPCallbacksTest, StringizedMacroArgument) { … }
TEST_F(PPCallbacksTest, ConcatenatedMacroArgument) { … }
TEST_F(PPCallbacksTest, TrigraphFilename) { … }
TEST_F(PPCallbacksTest, TrigraphInMacro) { … }
TEST_F(PPCallbacksTest, FileNotFoundSkipped) { … }
TEST_F(PPCallbacksTest, OpenCLExtensionPragmaEnabled) { … }
TEST_F(PPCallbacksTest, OpenCLExtensionPragmaDisabled) { … }
TEST_F(PPCallbacksTest, CollectMarks) { … }
TEST_F(PPCallbacksTest, DirectiveExprRanges) { … }
}