]> granicus.if.org Git - clang/commitdiff
Fix comments.
authorDaniel Dunbar <daniel@zuster.org>
Tue, 27 Apr 2010 14:51:07 +0000 (14:51 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Tue, 27 Apr 2010 14:51:07 +0000 (14:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102429 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGRecordLayout.h

index 56211b1a3e053fff686ac8386e88b40d9e3d6c24..9f966fb7ae460873b2bdfc0dfe8285f9e9ee7bc4 100644 (file)
@@ -186,15 +186,15 @@ public:
     return ContainsPointerToDataMember;
   }
 
-  /// \brief Return the BitFieldInfo that corresponds to the field FD.
+  /// \brief Return llvm::StructType element number that corresponds to the
+  /// field FD.
   unsigned getLLVMFieldNo(const FieldDecl *FD) const {
     assert(!FD->isBitField() && "Invalid call for bit-field decl!");
     assert(FieldInfo.count(FD) && "Invalid field for record!");
     return FieldInfo.lookup(FD);
   }
 
-  /// \brief Return llvm::StructType element number that corresponds to the
-  /// field FD.
+  /// \brief Return the BitFieldInfo that corresponds to the field FD.
   const CGBitFieldInfo &getBitFieldInfo(const FieldDecl *FD) const {
     assert(FD->isBitField() && "Invalid call for non bit-field decl!");
     llvm::DenseMap<const FieldDecl *, CGBitFieldInfo>::const_iterator