aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-01-25 23:06:38 +0000
committerChris Lattner <sabre@nondot.org>2009-01-25 23:06:38 +0000
commitf65dd5681b34f195a29ddd6ee134b7743ed78cdd (patch)
treeaf2c1e4326e2dd875700c2c54d93d51a850cf525
parent23f2c583c503971ed768fe596b163128f65ee5c9 (diff)
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
-rw-r--r--include/clang/AST/ASTContext.h6
1 files changed, 3 insertions, 3 deletions
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