LLVM  6.0.0svn
Macros
PDBExtras.cpp File Reference
#include "llvm/DebugInfo/PDB/PDBExtras.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/DebugInfo/CodeView/Formatters.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/DebugInfo/CodeView/CodeViewRegisters.def"
Include dependency graph for PDBExtras.cpp:

Go to the source code of this file.

Macros

#define CASE_OUTPUT_ENUM_CLASS_STR(Class, Value, Str, Stream)
 
#define CASE_OUTPUT_ENUM_CLASS_NAME(Class, Value, Stream)   CASE_OUTPUT_ENUM_CLASS_STR(Class, Value, #Value, Stream)
 
#define CV_REGISTER(name, val)   case codeview::RegisterId::name: OS << #name; return OS;
 

Macro Definition Documentation

◆ CASE_OUTPUT_ENUM_CLASS_NAME

#define CASE_OUTPUT_ENUM_CLASS_NAME (   Class,
  Value,
  Stream 
)    CASE_OUTPUT_ENUM_CLASS_STR(Class, Value, #Value, Stream)

Definition at line 23 of file PDBExtras.cpp.

Referenced by llvm::pdb::operator<<().

◆ CASE_OUTPUT_ENUM_CLASS_STR

#define CASE_OUTPUT_ENUM_CLASS_STR (   Class,
  Value,
  Str,
  Stream 
)
Value:
case Class::Value: \
Stream << Str; \
break;

Definition at line 18 of file PDBExtras.cpp.

Referenced by llvm::pdb::operator<<().

◆ CV_REGISTER

#define CV_REGISTER (   name,
  val 
)    case codeview::RegisterId::name: OS << #name; return OS;