diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2012-10-15 20:57:52 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2012-10-15 20:57:52 +0000 |
commit | 88d285cc0fc4ecdbc88d1779dcd2da968aa8b191 (patch) | |
tree | 48f18cbffe2c81e2e5d7cb49533b87e6a1c76c6a /lib/AST/Comment.cpp | |
parent | dc0d4e251b4c41b75c5d93f1866a8a0952b1c6ae (diff) |
Fixes location of overriding declaration with no comment
of their own.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165972 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/Comment.cpp')
-rw-r--r-- | lib/AST/Comment.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/AST/Comment.cpp b/lib/AST/Comment.cpp index a235b60bea..e51efd9e11 100644 --- a/lib/AST/Comment.cpp +++ b/lib/AST/Comment.cpp @@ -156,7 +156,8 @@ void DeclInfo::fill() { IsFilled = true; return; } - + Loc = CommentDecl->getLocation(); + Decl::Kind K = CommentDecl->getKind(); switch (K) { default: |