]> granicus.if.org Git - clang/commitdiff
improve ASTContext::getDeclAlign comment, as suggested by Eli.
authorChris Lattner <sabre@nondot.org>
Sun, 25 Jan 2009 23:06:38 +0000 (23:06 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 25 Jan 2009 23:06:38 +0000 (23:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62975 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/ASTContext.h

index 927d65b99f522a1e40f215a85c0e4d483cfe8a86..684feb24025d539dc74b6caa6f6a95a555f21405 100644 (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