Fix comments.

llvm-svn: 102429
This commit is contained in:
Daniel Dunbar 2010-04-27 14:51:07 +00:00
parent 64d43d80be
commit 19d6355b77
1 changed files with 3 additions and 3 deletions

View 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