[cfe-commits] r69562 - /cfe/trunk/lib/CodeGen/CGObjCMac.cpp
Daniel Dunbar
daniel at zuster.org
Sun Apr 19 17:33:45 PDT 2009
Author: ddunbar
Date: Sun Apr 19 19:33:43 2009
New Revision: 69562
URL: http://llvm.org/viewvc/llvm-project?rev=69562&view=rev
Log:
Comment fixes.
Modified:
cfe/trunk/lib/CodeGen/CGObjCMac.cpp
Modified: cfe/trunk/lib/CodeGen/CGObjCMac.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGObjCMac.cpp?rev=69562&r1=69561&r2=69562&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGObjCMac.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGObjCMac.cpp Sun Apr 19 19:33:43 2009
@@ -4586,7 +4586,7 @@
RecordDecl::field_iterator i,p;
const RecordDecl *RD = GetFirstIvarInRecord(OID, i,p);
- // collect declared and synthesized ivars in a small vector.
+ // Collect declared and synthesized ivars in a small vector.
llvm::SmallVector<ObjCIvarDecl*, 16> OIvars;
for (ObjCInterfaceDecl::ivar_iterator I = OID->ivar_begin(),
E = OID->ivar_end(); I != E; ++I)
@@ -4614,11 +4614,11 @@
Field->getType().getTypePtr()) >> 3;
Align = llvm::Log2_32(Align);
Ivar[3] = llvm::ConstantInt::get(ObjCTypes.IntTy, Align);
- // NOTE. Size of a bitfield does not match gcc's, because of the way
- // bitfields are treated special in each. But I am told that 'size'
- // for bitfield ivars is ignored by the runtime so it does not matter.
- // (even if it matters, some day, there is enough info. to get the bitfield
- // right!
+ // NOTE. Size of a bitfield does not match gcc's, because of the
+ // way bitfields are treated special in each. But I am told that
+ // 'size' for bitfield ivars is ignored by the runtime so it does
+ // not matter. If it matters, there is enough info to get the
+ // bitfield right!
Ivar[4] = llvm::ConstantInt::get(ObjCTypes.IntTy, Size);
Ivars.push_back(llvm::ConstantStruct::get(ObjCTypes.IvarnfABITy, Ivar));
}
More information about the cfe-commits
mailing list