Expand the comment for DeclInfo::CurrentDecl.

llvm-svn: 166202
This commit is contained in:
Dmitri Gribenko 2012-10-18 18:18:26 +00:00
parent c8702fc261
commit d0756e45a5
1 changed files with 6 additions and 0 deletions

View File

@ -907,6 +907,12 @@ struct DeclInfo {
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;