aboutsummaryrefslogtreecommitdiff
path: root/lib/AST/Comment.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/AST/Comment.cpp')
-rw-r--r--lib/AST/Comment.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AST/Comment.cpp b/lib/AST/Comment.cpp
index e51efd9e11..03b58a7aa3 100644
--- a/lib/AST/Comment.cpp
+++ b/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) {