summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-04-20 00:33:43 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-04-20 00:33:43 +0000
commitae03226bc6ec06927cbd91f59817d09876a8f301 (patch)
tree7a85ba498012bc48d447a4a45f20ac00c91986ec /clang/lib
parent554fd79b38f1e78be91e85731d8e19909cd4bd08 (diff)
downloadbcm5719-llvm-ae03226bc6ec06927cbd91f59817d09876a8f301.tar.gz
bcm5719-llvm-ae03226bc6ec06927cbd91f59817d09876a8f301.zip
Comment fixes.
llvm-svn: 69562
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/CodeGen/CGObjCMac.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/clang/lib/CodeGen/CGObjCMac.cpp b/clang/lib/CodeGen/CGObjCMac.cpp
index 4750db4aee5..e04f723b1d7 100644
--- a/clang/lib/CodeGen/CGObjCMac.cpp
+++ b/clang/lib/CodeGen/CGObjCMac.cpp
@@ -4586,7 +4586,7 @@ llvm::Constant *CGObjCNonFragileABIMac::EmitIvarList(
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 @@ llvm::Constant *CGObjCNonFragileABIMac::EmitIvarList(
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));
}
OpenPOWER on IntegriCloud