clang 24.0.0git
RecordLayoutUtils.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  clang
 Top level wrappers for InstallAPI frontend operations.
namespace  clang::CodeGenUtils

Functions

bool clang::CodeGenUtils::isDiscreteBitFieldABI (const ASTContext &Ctx, const RecordDecl *RD)
 The Microsoft bitfield layout rule allocates discrete storage units of the field's formal type and only combines adjacent fields of the same formal type.
bool clang::CodeGenUtils::isEmptyFieldForLayout (const ASTContext &Ctx, const FieldDecl *FD)
 Return true iff the field is "empty", that is, either a zero-width bit-field or an isEmptyRecordForLayout.
bool clang::CodeGenUtils::isEmptyRecordForLayout (const ASTContext &Ctx, QualType T)
 Return true iff a structure contains only empty base classes (per isEmptyRecordForLayout) and fields (per isEmptyFieldForLayout).
bool clang::CodeGenUtils::isOverlappingVBaseABI (const ASTContext &Ctx)
 The Itanium base layout rule allows virtual bases to overlap other bases, which complicates layout in specific ways.