From: Chris Lattner Date: Sun, 30 Sep 2007 08:13:22 +0000 (+0000) Subject: improve comment. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7cb8491a8bb09de32174959f3f634a44264fd48f;p=clang improve comment. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@42478 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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.