From: Chris Lattner Date: Sun, 25 Jan 2009 23:06:38 +0000 (+0000) Subject: improve ASTContext::getDeclAlign comment, as suggested by Eli. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f65dd5681b34f195a29ddd6ee134b7743ed78cdd;p=clang improve ASTContext::getDeclAlign comment, as suggested by Eli. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62975 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/AST/ASTContext.h b/include/clang/AST/ASTContext.h index 927d65b99f..684feb2402 100644 --- a/include/clang/AST/ASTContext.h +++ b/include/clang/AST/ASTContext.h @@ -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