diff options
author | Chris Lattner <sabre@nondot.org> | 2007-09-30 08:13:22 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-09-30 08:13:22 +0000 |
commit | 7cb8491a8bb09de32174959f3f634a44264fd48f (patch) | |
tree | 26a29c37028741b76017b5aeb29e00142fdd0b7f | |
parent | b7f4f2adb016c248794af74b093625835a1c4132 (diff) |
improve comment.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@42478 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/clang/AST/Decl.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/clang/AST/Decl.h b/include/clang/AST/Decl.h index 865bf6fd9e..7c22c4d5ac 100644 --- a/include/clang/AST/Decl.h +++ b/include/clang/AST/Decl.h @@ -519,7 +519,10 @@ public: }; -/// RecordDecl - Represents a struct/union/class. +/// RecordDecl - Represents a struct/union/class. For example: +/// struct X; // Forward declaration, no "body". +/// union Y { int A, B; }; // Has body with members A and B (FieldDecls). +/// class RecordDecl : public TagDecl { /// HasFlexibleArrayMember - This is true if this struct ends with a flexible /// array member (e.g. int X[]) or if this union contains a struct that does. |