diff options
| author | Daniel Dunbar <daniel@zuster.org> | 2010-04-27 14:51:07 +0000 |
|---|---|---|
| committer | Daniel Dunbar <daniel@zuster.org> | 2010-04-27 14:51:07 +0000 |
| commit | 19d6355b77360a4d5012c827624e4a1eec4ef773 (patch) | |
| tree | 056ccb6ef17743566516998c5f65a37fa4131ad7 /clang/lib/CodeGen | |
| parent | 64d43d80be37caf43bc7e116d5dc7d67f745533b (diff) | |
| download | bcm5719-llvm-19d6355b77360a4d5012c827624e4a1eec4ef773.tar.gz bcm5719-llvm-19d6355b77360a4d5012c827624e4a1eec4ef773.zip | |
Fix comments.
llvm-svn: 102429
Diffstat (limited to 'clang/lib/CodeGen')
| -rw-r--r-- | clang/lib/CodeGen/CGRecordLayout.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CGRecordLayout.h b/clang/lib/CodeGen/CGRecordLayout.h index 56211b1a3e0..9f966fb7ae4 100644 --- a/clang/lib/CodeGen/CGRecordLayout.h +++ b/clang/lib/CodeGen/CGRecordLayout.h @@ -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 |

