LLVM  8.0.1
Macros
Globals.cpp File Reference
#include "LLVMContextImpl.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/ADT/Triple.h"
#include "llvm/IR/ConstantRange.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/DerivedTypes.h"
#include "llvm/IR/GlobalAlias.h"
#include "llvm/IR/GlobalValue.h"
#include "llvm/IR/GlobalVariable.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/Operator.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/IR/Value.def"
Include dependency graph for Globals.cpp:

Go to the source code of this file.

Macros

#define HANDLE_GLOBAL_VALUE(NAME)
 
#define HANDLE_GLOBAL_VALUE(NAME)
 

Macro Definition Documentation

◆ HANDLE_GLOBAL_VALUE [1/2]

#define HANDLE_GLOBAL_VALUE (   NAME)
Value:
case Value::NAME##Val: \
return static_cast<NAME *>(this)->removeFromParent();

◆ HANDLE_GLOBAL_VALUE [2/2]

#define HANDLE_GLOBAL_VALUE (   NAME)
Value:
case Value::NAME##Val: \
return static_cast<NAME *>(this)->eraseFromParent();