aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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