improve ASTContext::getDeclAlign comment, as suggested by Eli.

llvm-svn: 62975
This commit is contained in:
Chris Lattner 2009-01-25 23:06:38 +00:00
parent 4f765fb198
commit 3138e81621
1 changed files with 3 additions and 3 deletions

View File

@ -403,9 +403,9 @@ public:
return getTypeInfo(T).second;
}
/// getDeclAlign - Return a conservative estimate of the alignment of the
/// specified decl. Note that bitfields do not have a valid alignment, so
/// this method will assert on them.
/// getDeclAlign - Return the alignment of the specified decl that should be
/// returned by __alignof(). Note that bitfields do not have a valid
/// alignment, so this method will assert on them.
unsigned getDeclAlign(const Decl *D);
/// getASTRecordLayout - Get or compute information about the layout of the