25 NoSanitizePaths,
SM.getFileManager().getVirtualFileSystem())),
32 return SSCL->inSection(Mask,
"global", GlobalName,
Category);
37 return SSCL->inSection(Mask,
"type", MangledTypeName,
Category);
41 StringRef FunctionName)
const {
42 return SSCL->inSection(Mask,
"fun", FunctionName);
Defines the clang::FileManager interface and associated types.
Defines the clang::SanitizerKind enum.
Defines the SourceManager interface.
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.
bool isValid() const
Return true if this is a valid SourceLocation object.
This class handles loading and caching of source files into memory.
SourceLocation getFileLoc(SourceLocation Loc) const
Given Loc, if it is a macro location return the expansion location or the spelling location,...
StringRef getFilename(SourceLocation SpellingLoc) const
Return the filename of the file containing a SourceLocation.
The JSON file list parser is used to communicate input to InstallAPI.