clang  6.0.0svn
Classes | Namespaces | Macros | Typedefs | Enumerations | Functions
Sanitizers.h File Reference

Defines the clang::SanitizerKind enum. More...

#include "clang/Basic/LLVM.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/MathExtras.h"
#include "clang/Basic/Sanitizers.def"
Include dependency graph for Sanitizers.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  clang::SanitizerSet
 

Namespaces

 clang
 Dataflow Directional Tag Classes.
 
 clang::SanitizerKind
 

Macros

#define SANITIZER(NAME, ID)   SO_##ID,
 
#define SANITIZER_GROUP(NAME, ID, ALIAS)   SO_##ID##Group,
 
#define SANITIZER(NAME, ID)   const SanitizerMask ID = 1ULL << SO_##ID;
 
#define SANITIZER_GROUP(NAME, ID, ALIAS)
 

Typedefs

typedef uint64_t clang::SanitizerMask
 

Enumerations

enum  clang::SanitizerKind::SanitizerOrdinal : uint64_t { clang::SanitizerKind::SO_Count }
 

Functions

SanitizerMask clang::parseSanitizerValue (StringRef Value, bool AllowGroups)
 Parse a single value from a -fsanitize= or -fno-sanitize= value list. More...
 
SanitizerMask clang::expandSanitizerGroups (SanitizerMask Kinds)
 For each sanitizer group bit set in Kinds, set the bits for sanitizers this group enables. More...
 
SanitizerMask clang::getPPTransparentSanitizers ()
 Return the sanitizers which do not affect preprocessing. More...
 

Detailed Description

Defines the clang::SanitizerKind enum.

Definition in file Sanitizers.h.

Macro Definition Documentation

◆ SANITIZER [1/2]

#define SANITIZER (   NAME,
  ID 
)    SO_##ID,

Definition at line 39 of file Sanitizers.h.

◆ SANITIZER [2/2]

#define SANITIZER (   NAME,
  ID 
)    const SanitizerMask ID = 1ULL << SO_##ID;

Definition at line 39 of file Sanitizers.h.

◆ SANITIZER_GROUP [1/2]

#define SANITIZER_GROUP (   NAME,
  ID,
  ALIAS 
)    SO_##ID##Group,

Definition at line 41 of file Sanitizers.h.

◆ SANITIZER_GROUP [2/2]

#define SANITIZER_GROUP (   NAME,
  ID,
  ALIAS 
)
Value:
const SanitizerMask ID##Group = 1ULL << SO_##ID##Group;
uint64_t SanitizerMask
Definition: Sanitizers.h:24
#define ALIAS(NAME, TOK, FLAGS)

Definition at line 41 of file Sanitizers.h.