#include "clang/Basic/Diagnostic.h"
#include "clang/Basic/DiagnosticIDs.h"
#include "clang/Basic/DiagnosticOptions.h"
#include "clang/Driver/Compilation.h"
#include "clang/Driver/Driver.h"
#include "clang/Driver/Job.h"
#include "clang/Frontend/TextDiagnosticPrinter.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/IntrusiveRefCntPtr.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/VirtualFileSystem.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/TargetParser/Host.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include <cstdlib>
#include <memory>
#include <optional>
#include <string>
usingnamespaceclang;
usingnamespaceclang::driver;
Contains;
StrEq;
namespace {
static constexpr const char *ClangBinary = …;
static constexpr const char *InputFile = …;
std::string concatPaths(llvm::ArrayRef<StringRef> Components) { … }
class SanitizerArgsTest : public ::testing::Test { … };
TEST_F(SanitizerArgsTest, Ignorelists) { … }
TEST_F(SanitizerArgsTest, XRayLists) { … }
}