llvm/clang/unittests/Driver/ToolChainTest.cpp

//===- unittests/Driver/ToolChainTest.cpp --- ToolChain 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
//
//===----------------------------------------------------------------------===//
//
// Unit tests for ToolChains.
//
//===----------------------------------------------------------------------===//

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

} // end anonymous namespace.