14#ifndef LLVM_CLANG_BASIC_SANITIZERSPECIALCASELIST_H
15#define LLVM_CLANG_BASIC_SANITIZERSPECIALCASELIST_H
19#include "llvm/ADT/StringRef.h"
20#include "llvm/Support/SpecialCaseList.h"
34 static std::unique_ptr<SanitizerSpecialCaseList>
35 create(
const std::vector<std::string> &Paths, llvm::vfs::FileSystem &VFS,
38 static std::unique_ptr<SanitizerSpecialCaseList>
40 llvm::vfs::FileSystem &VFS);
44 StringRef
Category = StringRef())
const;
Forward-declares and imports various common LLVM datatypes that clang wants to use unqualified.
Defines the clang::SanitizerKind enum.
static std::unique_ptr< SanitizerSpecialCaseList > create(const std::vector< std::string > &Paths, llvm::vfs::FileSystem &VFS, std::string &Error)
bool inSection(SanitizerMask Mask, StringRef Prefix, StringRef Query, StringRef Category=StringRef()) const
void createSanitizerSections()
static std::unique_ptr< SanitizerSpecialCaseList > createOrDie(const std::vector< std::string > &Paths, llvm::vfs::FileSystem &VFS)
std::vector< SanitizerSection > SanitizerSections
The JSON file list parser is used to communicate input to InstallAPI.
Diagnostic wrappers for TextAPI types for error reporting.
SanitizerSection(SanitizerMask SM, SectionEntries &E)