From 1bfb00dabf83d8c8b95b7276b4c0ae3fd64832c8 Mon Sep 17 00:00:00 2001 From: Fariborz Jahanian Date: Wed, 17 Oct 2012 21:58:03 +0000 Subject: [Doc parsing]: This patch adds tag to XML comment for declarations which pretty-prints declaration. I had to XFAIL one test annotate-comments.cpp. This test is currently unmaintainable as written. Dmitri G., can you see what we can do about this test. We should change this test such that adding a new tag does not wreck havoc to the test. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166130 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/AST/Comment.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/AST/Comment.cpp') 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) { -- cgit v1.2.3-70-g09d2