diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-04-20 00:33:43 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-04-20 00:33:43 +0000 |
commit | 91636d6c4c07fd2edf19a510b02c6e793a28741f (patch) | |
tree | a135d697cd96a4abf14ebf13e817218289f21c9f | |
parent | b02532a9e34d23de996cbf1f46fc978ef556c0e5 (diff) |
Comment fixes.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69562 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/CodeGen/CGObjCMac.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/CodeGen/CGObjCMac.cpp b/lib/CodeGen/CGObjCMac.cpp index 4750db4aee..e04f723b1d 100644 --- a/lib/CodeGen/CGObjCMac.cpp +++ b/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)); } |