clang  6.0.0svn
Macros
Sanitizers.cpp File Reference
#include "clang/Basic/Sanitizers.h"
#include "clang/Basic/LLVM.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/StringSwitch.h"
#include "clang/Basic/Sanitizers.def"
Include dependency graph for Sanitizers.cpp:

Go to the source code of this file.

Macros

#define SANITIZER(NAME, ID)   .Case(NAME, SanitizerKind::ID)
 
#define SANITIZER_GROUP(NAME, ID, ALIAS)   .Case(NAME, AllowGroups ? SanitizerKind::ID##Group : 0)
 
#define SANITIZER(NAME, ID)
 
#define SANITIZER_GROUP(NAME, ID, ALIAS)
 

Macro Definition Documentation

◆ SANITIZER [1/2]

#define SANITIZER (   NAME,
  ID 
)    .Case(NAME, SanitizerKind::ID)

◆ SANITIZER [2/2]

#define SANITIZER (   NAME,
  ID 
)

◆ SANITIZER_GROUP [1/2]

#define SANITIZER_GROUP (   NAME,
  ID,
  ALIAS 
)    .Case(NAME, AllowGroups ? SanitizerKind::ID##Group : 0)

◆ SANITIZER_GROUP [2/2]

#define SANITIZER_GROUP (   NAME,
  ID,
  ALIAS 
)
Value:
if (Kinds & SanitizerKind::ID##Group) \