#include <fstream>
#include "clang/Basic/FileManager.h"
#include "clang/Frontend/ASTUnit.h"
#include "clang/Frontend/CompilerInstance.h"
#include "clang/Frontend/CompilerInvocation.h"
#include "clang/Frontend/PCHContainerOperations.h"
#include "clang/Lex/HeaderSearch.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/ToolOutputFile.h"
#include "gtest/gtest.h"
usingnamespacellvm;
usingnamespaceclang;
namespace {
class ASTUnitTest : public ::testing::Test { … };
TEST_F(ASTUnitTest, SaveLoadPreservesLangOptionsInPrintingPolicy) { … }
TEST_F(ASTUnitTest, GetBufferForFileMemoryMapping) { … }
TEST_F(ASTUnitTest, ModuleTextualHeader) { … }
TEST_F(ASTUnitTest, LoadFromCommandLineEarlyError) { … }
TEST_F(ASTUnitTest, LoadFromCommandLineWorkingDirectory) { … }
}