From 90c26ba9de363128612a55ac98b47066ffeea399 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 30 Sep 2007 08:13:22 +0000 Subject: [PATCH] improve comment. llvm-svn: 42478 --- clang/include/clang/AST/Decl.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/clang/include/clang/AST/Decl.h b/clang/include/clang/AST/Decl.h index 865bf6fd9ebc..7c22c4d5ac2b 100644 --- a/clang/include/clang/AST/Decl.h +++ b/clang/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.