diff options
Diffstat (limited to 'clang/lib/AST/Comment.cpp')
-rw-r--r-- | clang/lib/AST/Comment.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/Comment.cpp b/clang/lib/AST/Comment.cpp index e51efd9e115..03b58a7aa3c 100644 --- a/clang/lib/AST/Comment.cpp +++ b/clang/lib/AST/Comment.cpp @@ -156,7 +156,7 @@ void DeclInfo::fill() { IsFilled = true; return; } - Loc = CommentDecl->getLocation(); + CurrentDecl = CommentDecl; Decl::Kind K = CommentDecl->getKind(); switch (K) { |