clang API Documentation
#include <SanitizerBlacklist.h>
Public Member Functions | |
SanitizerBlacklist (StringRef BlacklistPath, SourceManager &SM) | |
bool | isBlacklistedGlobal (StringRef GlobalName, StringRef Category=StringRef()) const |
bool | isBlacklistedType (StringRef MangledTypeName, StringRef Category=StringRef()) const |
bool | isBlacklistedFunction (StringRef FunctionName) const |
bool | isBlacklistedFile (StringRef FileName, StringRef Category=StringRef()) const |
bool | isBlacklistedLocation (SourceLocation Loc, StringRef Category=StringRef()) const |
Definition at line 26 of file SanitizerBlacklist.h.
SanitizerBlacklist::SanitizerBlacklist | ( | StringRef | BlacklistPath, |
SourceManager & | SM | ||
) |
Definition at line 18 of file SanitizerBlacklist.cpp.
bool SanitizerBlacklist::isBlacklistedFile | ( | StringRef | FileName, |
StringRef | Category = StringRef() |
||
) | const |
Definition at line 36 of file SanitizerBlacklist.cpp.
Referenced by isBlacklistedLocation().
bool SanitizerBlacklist::isBlacklistedFunction | ( | StringRef | FunctionName | ) | const |
Definition at line 32 of file SanitizerBlacklist.cpp.
bool SanitizerBlacklist::isBlacklistedGlobal | ( | StringRef | GlobalName, |
StringRef | Category = StringRef() |
||
) | const |
Definition at line 22 of file SanitizerBlacklist.cpp.
bool SanitizerBlacklist::isBlacklistedLocation | ( | SourceLocation | Loc, |
StringRef | Category = StringRef() |
||
) | const |
Definition at line 41 of file SanitizerBlacklist.cpp.
References clang::SourceManager::getFileLoc(), clang::SourceManager::getFilename(), isBlacklistedFile(), and clang::SourceLocation::isInvalid().
Referenced by clang::CodeGen::CodeGenModule::isInSanitizerBlacklist().
bool SanitizerBlacklist::isBlacklistedType | ( | StringRef | MangledTypeName, |
StringRef | Category = StringRef() |
||
) | const |
Definition at line 27 of file SanitizerBlacklist.cpp.
Referenced by clang::CodeGen::CodeGenFunction::EmitTypeCheck().