diff options
Diffstat (limited to 'include/clang/AST/Comment.h')
-rw-r--r-- | include/clang/AST/Comment.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/clang/AST/Comment.h b/include/clang/AST/Comment.h index e3c593671b..c3eb22e856 100644 --- a/include/clang/AST/Comment.h +++ b/include/clang/AST/Comment.h @@ -905,9 +905,9 @@ struct DeclInfo { /// Declaration the comment is attached to. Should not be NULL. const Decl *CommentDecl; - /// Location of this declaration. Not necessarily same as location of - /// CommentDecl. - SourceLocation Loc; + /// CurrentDecl is the declaration for which comment is being put into an XML comment. + /// Not necessarily same as CommentDecl. + const Decl *CurrentDecl; /// Parameters that can be referenced by \\param if \c CommentDecl is something /// that we consider a "function". |