summaryrefslogtreecommitdiffstats
path: root/clang/test/Index/annotate-comments.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2013-07-26 18:38:12 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2013-07-26 18:38:12 +0000
commitb534d3a0ef6970f5e42f10ba5cfcb562d8b184e1 (patch)
tree0e0aa979a03645301ed0add006e9085c5f26c812 /clang/test/Index/annotate-comments.cpp
parent53900e5124f21ecb815a5e59cd19ba7fe8a145aa (diff)
downloadbcm5719-llvm-b534d3a0ef6970f5e42f10ba5cfcb562d8b184e1.tar.gz
bcm5719-llvm-b534d3a0ef6970f5e42f10ba5cfcb562d8b184e1.zip
[libclang] Remove comma from the blacklist of characters that prevent a comment to be attached to a decl.
It's common to use an availability function macro at the start of a decl. rdar://13965065 llvm-svn: 187230
Diffstat (limited to 'clang/test/Index/annotate-comments.cpp')
-rw-r--r--clang/test/Index/annotate-comments.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/clang/test/Index/annotate-comments.cpp b/clang/test/Index/annotate-comments.cpp
index 2a0b635de85..6612a44792e 100644
--- a/clang/test/Index/annotate-comments.cpp
+++ b/clang/test/Index/annotate-comments.cpp
@@ -247,6 +247,13 @@ void isdoxy52(int);
*/
void isdoxy53(int);
+#define MYMAC(x,y)
+/**
+ * Aaa. IS_DOXYGEN_START IS_DOXYGEN_END
+ */
+MYMAC(0,0)
+void isdoxy54(int);
+
#endif
// RUN: rm -rf %t
@@ -327,4 +334,5 @@ void isdoxy53(int);
// CHECK: annotate-comments.cpp:222:6: FunctionDecl=isdoxy50:{{.*}} BriefComment=[Returns ddd IS_DOXYGEN_END]
// CHECK: annotate-comments.cpp:231:6: FunctionDecl=isdoxy51:{{.*}} BriefComment=[Aaa. IS_DOXYGEN_START]
// CHECK: annotate-comments.cpp:241:6: FunctionDecl=isdoxy52:{{.*}} BriefComment=[Aaa. IS_DOXYGEN_START Bbb.]
-
+// CHECK: annotate-comments.cpp:248:6: FunctionDecl=isdoxy53:{{.*}} BriefComment=[Aaa. IS_DOXYGEN_START IS_DOXYGEN_END]
+// CHECK: annotate-comments.cpp:255:6: FunctionDecl=isdoxy54:{{.*}} BriefComment=[Aaa. IS_DOXYGEN_START IS_DOXYGEN_END]
OpenPOWER on IntegriCloud