aboutsummaryrefslogtreecommitdiff
path: root/test/Index/annotate-comments.cpp
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2012-06-27 23:43:37 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2012-06-27 23:43:37 +0000
commit8bdb58a7835a9a90dd9b9791fccf269cbc1dcef3 (patch)
tree8113d564235d6d532d37eda0b1769ffab74ba993 /test/Index/annotate-comments.cpp
parent5676d32a23faf0506f5c295980c2876c862488d5 (diff)
Attaching documentation comments to declarations: don't attach a comment to a declaration if there is a preprocessor directive between them.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159305 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Index/annotate-comments.cpp')
-rw-r--r--test/Index/annotate-comments.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Index/annotate-comments.cpp b/test/Index/annotate-comments.cpp
index 64d1c983bc..cb0630b739 100644
--- a/test/Index/annotate-comments.cpp
+++ b/test/Index/annotate-comments.cpp
@@ -194,6 +194,10 @@ void isdoxy44(void);
/// Ggg. IS_DOXYGEN_END
void isdoxy45(void);
+/// IS_DOXYGEN_NOT_ATTACHED
+#define FOO
+void notdoxy46(void);
+
#endif
// RUN: rm -rf %t