14 #ifndef LLVM_CLANG_BASIC_NOSANITIZELIST_H
15 #define LLVM_CLANG_BASIC_NOSANITIZELIST_H
19 #include "llvm/ADT/StringRef.h"
27 class SanitizerSpecialCaseList;
30 std::unique_ptr<SanitizerSpecialCaseList> SSCL;
34 NoSanitizeList(
const std::vector<std::string> &NoSanitizeListPaths,
38 StringRef Category = StringRef())
const;
40 StringRef Category = StringRef())
const;
43 StringRef Category = StringRef())
const;
45 StringRef Category = StringRef())
const;
47 StringRef Category = StringRef())
const;
Forward-declares and imports various common LLVM datatypes that clang wants to use unqualified.
Defines the clang::SourceLocation class and associated facilities.
NoSanitizeList(const std::vector< std::string > &NoSanitizeListPaths, SourceManager &SM)
bool containsType(SanitizerMask Mask, StringRef MangledTypeName, StringRef Category=StringRef()) const
bool containsGlobal(SanitizerMask Mask, StringRef GlobalName, StringRef Category=StringRef()) const
bool containsFile(SanitizerMask Mask, StringRef FileName, StringRef Category=StringRef()) const
bool containsLocation(SanitizerMask Mask, SourceLocation Loc, StringRef Category=StringRef()) const
bool containsMainFile(SanitizerMask Mask, StringRef FileName, StringRef Category=StringRef()) const
bool containsFunction(SanitizerMask Mask, StringRef FunctionName) const
Encodes a location in the source.
This class handles loading and caching of source files into memory.
The JSON file list parser is used to communicate input to InstallAPI.