14 #ifndef LLVM_CLANG_BASIC_SANITIZERBLACKLIST_H
15 #define LLVM_CLANG_BASIC_SANITIZERBLACKLIST_H
20 #include "llvm/ADT/StringRef.h"
21 #include "llvm/Support/SpecialCaseList.h"
27 std::unique_ptr<llvm::SpecialCaseList> SCL;
34 StringRef
Category = StringRef())
const;
36 StringRef
Category = StringRef())
const;
39 StringRef
Category = StringRef())
const;
41 StringRef
Category = StringRef())
const;
Defines the SourceManager interface.
bool isBlacklistedFile(StringRef FileName, StringRef Category=StringRef()) const
bool isBlacklistedLocation(SourceLocation Loc, StringRef Category=StringRef()) const
Forward-declares and imports various common LLVM datatypes that clang wants to use unqualified...
Encodes a location in the source.
bool isBlacklistedType(StringRef MangledTypeName, StringRef Category=StringRef()) const
bool isBlacklistedGlobal(StringRef GlobalName, StringRef Category=StringRef()) const
bool isBlacklistedFunction(StringRef FunctionName) const
Defines the clang::SourceLocation class and associated facilities.
SanitizerBlacklist(const std::vector< std::string > &BlacklistPaths, SourceManager &SM)
This class handles loading and caching of source files into memory.