]> granicus.if.org Git - clang/commitdiff
improve comment.
authorChris Lattner <sabre@nondot.org>
Sun, 30 Sep 2007 08:13:22 +0000 (08:13 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 30 Sep 2007 08:13:22 +0000 (08:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@42478 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/Decl.h

index 865bf6fd9ebc4f70d412bb53fea923eb74a928e5..7c22c4d5ac2b2995fe6d8a305f2300cb0e0d2521 100644 (file)
@@ -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.