Tweak spelling (Bitfield -> BitField)

llvm-svn: 101369
This commit is contained in:
Daniel Dunbar 2010-04-15 15:06:18 +00:00
parent 9fd00c7d25
commit 1da6511b99
3 changed files with 5 additions and 5 deletions

View File

@ -91,7 +91,7 @@ protected:
/// 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; }
@ -205,8 +205,8 @@ public:
return UserLabelPrefix;
}
bool useBitfieldTypeAlignment() const {
return UseBitfieldTypeAlignment;
bool useBitFieldTypeAlignment() const {
return UseBitFieldTypeAlignment;
}
/// getTypeName - Return the user string for the specified integer type enum.

View File

@ -585,7 +585,7 @@ void ASTRecordLayoutBuilder::LayoutBitField(const FieldDecl *D) {
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());

View File

@ -44,7 +44,7 @@ TargetInfo::TargetInfo(const std::string &T) : Triple(T) {
Char32Type = UnsignedInt;
Int64Type = SignedLongLong;
SigAtomicType = SignedInt;
UseBitfieldTypeAlignment = true;
UseBitFieldTypeAlignment = true;
FloatFormat = &llvm::APFloat::IEEEsingle;
DoubleFormat = &llvm::APFloat::IEEEdouble;
LongDoubleFormat = &llvm::APFloat::IEEEdouble;