[cfe-commits] r166202 - /cfe/trunk/include/clang/AST/Comment.h
gribozavr at gmail.com
Thu Oct 18 11:18:27 PDT 2012
Date: Thu Oct 18 13:18:26 2012
New Revision: 166202
Expand the comment for DeclInfo::CurrentDecl.
--- cfe/trunk/include/clang/AST/Comment.h (original)
+++ cfe/trunk/include/clang/AST/Comment.h Thu Oct 18 13:18:26 2012
@@ -907,6 +907,12 @@
const Decl *CommentDecl;
/// CurrentDecl is the declaration with which the FullComment is associated.
+ /// It can be different from \c CommentDecl. It happens when we we decide
+ /// that the comment originally attached to \c CommentDecl is fine for
+ /// \c CurrentDecl too (for example, for a redeclaration or an overrider of
+ /// \c CommentDecl).
/// The information in the DeclInfo corresponds to CurrentDecl.
const Decl *CurrentDecl;
More information about the cfe-commits