From: Fariborz Jahanian Date: Thu, 18 Oct 2012 17:32:05 +0000 (+0000) Subject: Improve comment in couple of fields of DeclInfo. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4a7c6eb2bbc9f7c00604d8d93ec66fd98cf4e404;p=clang Improve comment in couple of fields of DeclInfo. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166192 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/AST/Comment.h b/include/clang/AST/Comment.h index c3eb22e856..c7cdb78098 100644 --- a/include/clang/AST/Comment.h +++ b/include/clang/AST/Comment.h @@ -902,11 +902,12 @@ public: /// Information about the declaration, useful to clients of FullComment. struct DeclInfo { - /// Declaration the comment is attached to. Should not be NULL. + /// Declaration the comment is actually attached to (in the source). + /// Should not be NULL. const Decl *CommentDecl; - /// CurrentDecl is the declaration for which comment is being put into an XML comment. - /// Not necessarily same as CommentDecl. + /// CurrentDecl is the declaration with which the FullComment is associated. + /// The information in the DeclInfo corresponds to CurrentDecl. const Decl *CurrentDecl; /// Parameters that can be referenced by \\param if \c CommentDecl is something