/// used to (a) impact the alignment of the containing structure, and (b)
/// ensure that the individual bit-field will not straddle an alignment
/// boundary.
- unsigned UseBitfieldTypeAlignment : 1;
+ unsigned UseBitFieldTypeAlignment : 1;
public:
IntType getSizeType() const { return SizeType; }
return UserLabelPrefix;
}
- bool useBitfieldTypeAlignment() const {
- return UseBitfieldTypeAlignment;
+ bool useBitFieldTypeAlignment() const {
+ return UseBitFieldTypeAlignment;
}
/// getTypeName - Return the user string for the specified integer type enum.
uint64_t TypeSize = FieldInfo.first;
unsigned FieldAlign = FieldInfo.second;
- if (FieldPacked || !Ctx.Target.useBitfieldTypeAlignment())
+ if (FieldPacked || !Ctx.Target.useBitFieldTypeAlignment())
FieldAlign = 1;
if (const AlignedAttr *AA = D->getAttr<AlignedAttr>())
FieldAlign = std::max(FieldAlign, AA->getMaxAlignment());
Char32Type = UnsignedInt;
Int64Type = SignedLongLong;
SigAtomicType = SignedInt;
- UseBitfieldTypeAlignment = true;
+ UseBitFieldTypeAlignment = true;
FloatFormat = &llvm::APFloat::IEEEsingle;
DoubleFormat = &llvm::APFloat::IEEEdouble;
LongDoubleFormat = &llvm::APFloat::IEEEdouble;