clang  6.0.0svn
Functions
CGExprConstant.cpp File Reference
#include "CodeGenFunction.h"
#include "CGCXXABI.h"
#include "CGObjCRuntime.h"
#include "CGRecordLayout.h"
#include "CodeGenModule.h"
#include "ConstantEmitter.h"
#include "TargetInfo.h"
#include "clang/AST/APValue.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/RecordLayout.h"
#include "clang/AST/StmtVisitor.h"
#include "clang/Basic/Builtins.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/DataLayout.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/GlobalVariable.h"
Include dependency graph for CGExprConstant.cpp:

Go to the source code of this file.

Functions

static QualType getNonMemoryType (CodeGenModule &CGM, QualType type)
 
static llvm::Constant * EmitNullConstantForBase (CodeGenModule &CGM, llvm::Type *baseType, const CXXRecordDecl *base)
 Emit the null constant for a base subobject. More...
 
static llvm::Constant * EmitNullConstant (CodeGenModule &CGM, const RecordDecl *record, bool asCompleteObject)
 

Function Documentation

◆ EmitNullConstant()

static llvm::Constant* EmitNullConstant ( CodeGenModule CGM,
const RecordDecl record,
bool  asCompleteObject 
)
static

◆ EmitNullConstantForBase()

static llvm::Constant * EmitNullConstantForBase ( CodeGenModule CGM,
llvm::Type *  baseType,
const CXXRecordDecl base 
)
static

◆ getNonMemoryType()

static QualType getNonMemoryType ( CodeGenModule CGM,
QualType  type 
)
static