clang 22.0.0git
CIRGenExprConstant.cpp File Reference
#include "Address.h"
#include "CIRGenCXXABI.h"
#include "CIRGenConstantEmitter.h"
#include "CIRGenModule.h"
#include "CIRGenRecordLayout.h"
#include "mlir/IR/Attributes.h"
#include "mlir/IR/BuiltinAttributeInterfaces.h"
#include "mlir/IR/BuiltinAttributes.h"
#include "clang/AST/APValue.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/Attr.h"
#include "clang/AST/CharUnits.h"
#include "clang/AST/OperationKinds.h"
#include "clang/AST/RecordLayout.h"
#include "clang/AST/StmtVisitor.h"
#include "clang/Basic/Builtins.h"
#include "clang/CIR/Dialect/IR/CIRAttrs.h"
#include "clang/CIR/Dialect/IR/CIRTypes.h"
#include "clang/CIR/MissingFeatures.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/Support/ErrorHandling.h"
#include <functional>
#include <iterator>

Go to the source code of this file.

Functions

static mlir::TypedAttr emitNullConstantForBase (CIRGenModule &cgm, mlir::Type baseType, const CXXRecordDecl *baseDecl)
 Emit the null constant for a base subobject.
static mlir::TypedAttr emitNullConstant (CIRGenModule &cgm, const RecordDecl *rd, bool asCompleteObject)

Function Documentation

◆ emitNullConstant()

◆ emitNullConstantForBase()

mlir::TypedAttr emitNullConstantForBase ( CIRGenModule & cgm,
mlir::Type baseType,
const CXXRecordDecl * baseDecl )
static