clang  12.0.0git
Public Member Functions | List of all members
clang::SanitizerBlacklist Class Reference

#include "clang/Basic/SanitizerBlacklist.h"

Public Member Functions

 SanitizerBlacklist (const std::vector< std::string > &BlacklistPaths, SourceManager &SM)
 ~SanitizerBlacklist ()
bool isBlacklistedGlobal (SanitizerMask Mask, StringRef GlobalName, StringRef Category=StringRef()) const
bool isBlacklistedType (SanitizerMask Mask, StringRef MangledTypeName, StringRef Category=StringRef()) const
bool isBlacklistedFunction (SanitizerMask Mask, StringRef FunctionName) const
bool isBlacklistedFile (SanitizerMask Mask, StringRef FileName, StringRef Category=StringRef()) const
bool isBlacklistedLocation (SanitizerMask Mask, SourceLocation Loc, StringRef Category=StringRef()) const

Detailed Description

Definition at line 28 of file SanitizerBlacklist.h.

Constructor & Destructor Documentation

◆ SanitizerBlacklist()

SanitizerBlacklist::SanitizerBlacklist ( const std::vector< std::string > &  BlacklistPaths,
SourceManager SM 

Definition at line 22 of file SanitizerBlacklist.cpp.

References ~SanitizerBlacklist().

◆ ~SanitizerBlacklist()

SanitizerBlacklist::~SanitizerBlacklist ( )

Referenced by SanitizerBlacklist().

Member Function Documentation

◆ isBlacklistedFile()

bool SanitizerBlacklist::isBlacklistedFile ( SanitizerMask  Mask,
StringRef  FileName,
StringRef  Category = StringRef() 
) const

Definition at line 47 of file SanitizerBlacklist.cpp.

Referenced by isBlacklistedLocation().

◆ isBlacklistedFunction()

bool SanitizerBlacklist::isBlacklistedFunction ( SanitizerMask  Mask,
StringRef  FunctionName 
) const

Definition at line 42 of file SanitizerBlacklist.cpp.

◆ isBlacklistedGlobal()

bool SanitizerBlacklist::isBlacklistedGlobal ( SanitizerMask  Mask,
StringRef  GlobalName,
StringRef  Category = StringRef() 
) const

Definition at line 30 of file SanitizerBlacklist.cpp.

◆ isBlacklistedLocation()

bool SanitizerBlacklist::isBlacklistedLocation ( SanitizerMask  Mask,
SourceLocation  Loc,
StringRef  Category = StringRef() 
) const

◆ isBlacklistedType()

bool SanitizerBlacklist::isBlacklistedType ( SanitizerMask  Mask,
StringRef  MangledTypeName,
StringRef  Category = StringRef() 
) const

The documentation for this class was generated from the following files: