improve comment.
llvm-svn: 42478
diff --git a/clang/include/clang/AST/Decl.h b/clang/include/clang/AST/Decl.h
index 865bf6f..7c22c4d 100644
--- a/clang/include/clang/AST/Decl.h
+++ b/clang/include/clang/AST/Decl.h
@@ -519,7 +519,10 @@
};
-/// 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.