clang 20.0.0git
|
#include "clang/Basic/Sanitizers.h"
Public Member Functions | |
SanitizerMask ()=default | |
unsigned | countPopulation () const |
void | flipAllBits () |
bool | isPowerOf2 () const |
llvm::hash_code | hash_value () const |
constexpr | operator bool () const |
constexpr bool | operator== (const SanitizerMask &V) const |
SanitizerMask & | operator&= (const SanitizerMask &RHS) |
SanitizerMask & | operator|= (const SanitizerMask &RHS) |
constexpr bool | operator! () const |
constexpr bool | operator!= (const SanitizerMask &RHS) const |
Static Public Member Functions | |
static constexpr bool | checkBitPos (const unsigned Pos) |
static constexpr SanitizerMask | bitPosToMask (const unsigned Pos) |
Create a mask with a bit enabled at position Pos. | |
Friends | |
template<typename HasherT , llvm::endianness Endianness> | |
void | addHash (llvm::HashBuilder< HasherT, Endianness > &HBuilder, const SanitizerMask &SM) |
constexpr SanitizerMask | operator~ (SanitizerMask v) |
constexpr SanitizerMask | operator& (SanitizerMask a, const SanitizerMask &b) |
constexpr SanitizerMask | operator| (SanitizerMask a, const SanitizerMask &b) |
Definition at line 34 of file Sanitizers.h.
|
default |
Referenced by bitPosToMask().
|
inlinestaticconstexpr |
Create a mask with a bit enabled at position Pos.
Definition at line 59 of file Sanitizers.h.
References SanitizerMask().
Definition at line 54 of file Sanitizers.h.
unsigned clang::SanitizerMask::countPopulation | ( | ) | const |
Definition at line 61 of file Sanitizers.cpp.
Referenced by isPowerOf2().
|
inline |
Definition at line 69 of file Sanitizers.h.
llvm::hash_code SanitizerMask::hash_value | ( | ) | const |
Definition at line 56 of file Sanitizers.cpp.
Referenced by clang::hash_value().
|
inline |
Definition at line 74 of file Sanitizers.h.
References countPopulation().
Referenced by clang::SanitizerSet::has(), and clang::SanitizerSet::set().
|
inlineexplicitconstexpr |
Definition at line 86 of file Sanitizers.h.
|
inlineconstexpr |
Definition at line 107 of file Sanitizers.h.
References bool.
|
inlineconstexpr |
Definition at line 109 of file Sanitizers.h.
|
inline |
Definition at line 95 of file Sanitizers.h.
|
inlineconstexpr |
Definition at line 90 of file Sanitizers.h.
References V.
|
inline |
Definition at line 101 of file Sanitizers.h.
|
friend |
Definition at line 81 of file Sanitizers.h.
|
friend |
Definition at line 117 of file Sanitizers.h.
|
friend |
Definition at line 123 of file Sanitizers.h.
|
friend |
Definition at line 113 of file Sanitizers.h.