clang API Documentation

Public Member Functions
clang::SanitizerSet Class Reference

#include <Sanitizers.h>

List of all members.

Public Member Functions

 SanitizerSet ()
bool has (SanitizerKind K) const
 Check if a certain sanitizer is enabled.
void set (SanitizerKind K, bool Value)
 Enable or disable a certain sanitizer.
void clear ()
 Disable all sanitizers.
bool empty () const
 Returns true if at least one sanitizer is enabled.

Detailed Description

Definition at line 26 of file Sanitizers.h.


Constructor & Destructor Documentation

Definition at line 17 of file Sanitizers.cpp.


Member Function Documentation

Disable all sanitizers.

Definition at line 29 of file Sanitizers.cpp.

Referenced by clang::LangOptions::resetNonModularOptions(), and clang::CodeGen::CodeGenFunction::StartFunction().

Returns true if at least one sanitizer is enabled.

Definition at line 33 of file Sanitizers.cpp.

void SanitizerSet::set ( SanitizerKind  K,
bool  Value 
)

Enable or disable a certain sanitizer.

Definition at line 24 of file Sanitizers.cpp.

Referenced by ParseLangArgs().


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