#include "CompileCommands.h"
#include "Config.h"
#include "TestFS.h"
#include "support/Context.h"
#include "clang/Testing/CommandLineArgs.h"
#include "clang/Tooling/ArgumentsAdjusters.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/ScopeExit.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/Process.h"
#include "llvm/Support/TargetSelect.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
namespace clang {
namespace clangd {
namespace {
_;
Contains;
ElementsAre;
HasSubstr;
Not;
TEST(CommandMangler, Everything) { … }
TEST(CommandMangler, FilenameMismatch) { … }
TEST(CommandMangler, ResourceDir) { … }
TEST(CommandMangler, Sysroot) { … }
TEST(CommandMangler, ClangPath) { … }
#ifdef LLVM_ON_UNIX
MATCHER(ok, "") { … }
TEST(CommandMangler, ClangPathResolve) { … }
#endif
TEST(CommandMangler, ConfigEdits) { … }
static std::string strip(llvm::StringRef Arg, llvm::StringRef Argv) { … }
TEST(ArgStripperTest, Spellings) { … }
TEST(ArgStripperTest, UnknownFlag) { … }
TEST(ArgStripperTest, Xclang) { … }
TEST(ArgStripperTest, ClangCL) { … }
TEST(ArgStripperTest, ArgStyles) { … }
TEST(ArgStripperTest, EndOfList) { … }
TEST(ArgStripperTest, Multiple) { … }
TEST(ArgStripperTest, Warning) { … }
TEST(ArgStripperTest, Define) { … }
TEST(ArgStripperTest, OrderDependent) { … }
TEST(PrintArgvTest, All) { … }
TEST(CommandMangler, InputsAfterDashDash) { … }
TEST(CommandMangler, StripsMultipleArch) { … }
TEST(CommandMangler, EmptyArgs) { … }
TEST(CommandMangler, PathsAsPositional) { … }
TEST(CommandMangler, RespectsOriginalResourceDir) { … }
TEST(CommandMangler, RespectsOriginalSysroot) { … }
}
}
}