#include "clang/Driver/ToolChain.h"
#include "clang/Basic/DiagnosticIDs.h"
#include "clang/Basic/DiagnosticOptions.h"
#include "clang/Basic/LLVM.h"
#include "clang/Basic/TargetOptions.h"
#include "clang/Driver/Compilation.h"
#include "clang/Driver/Driver.h"
#include "clang/Frontend/CompilerInstance.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/MC/TargetRegistry.h"
#include "llvm/Support/TargetSelect.h"
#include "llvm/Support/VirtualFileSystem.h"
#include "llvm/Support/raw_ostream.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include <memory>
#include "SimpleDiagnosticConsumer.h"
usingnamespaceclang;
usingnamespaceclang::driver;
namespace {
TEST(ToolChainTest, VFSGCCInstallation) { … }
TEST(ToolChainTest, VFSGCCInstallationRelativeDir) { … }
TEST(ToolChainTest, VFSSolarisMultiGCCInstallation) { … }
MATCHER_P(jobHasArgs, Substr, "") { … }
TEST(ToolChainTest, VFSGnuLibcxxPathNoSysroot) { … }
TEST(ToolChainTest, DefaultDriverMode) { … }
TEST(ToolChainTest, InvalidArgument) { … }
TEST(ToolChainTest, ParsedClangName) { … }
TEST(ToolChainTest, GetTargetAndMode) { … }
TEST(ToolChainTest, CommandOutput) { … }
TEST(ToolChainTest, PostCallback) { … }
TEST(CompilerInvocation, SplitSwarfSingleCrash) { … }
TEST(GetDriverMode, PrefersLastDriverMode) { … }
struct SimpleDiagnosticConsumer : public DiagnosticConsumer { … };
TEST(ToolChainTest, ConfigFileSearch) { … }
struct FileSystemWithError : public llvm::vfs::FileSystem { … };
TEST(ToolChainTest, ConfigFileError) { … }
TEST(ToolChainTest, BadConfigFile) { … }
TEST(ToolChainTest, ConfigInexistentInclude) { … }
TEST(ToolChainTest, ConfigRecursiveInclude) { … }
TEST(ToolChainTest, NestedConfigFile) { … }
}