summaryrefslogtreecommitdiffstats
path: root/clang/test
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2012-06-28 01:38:21 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2012-06-28 01:38:21 +0000
commit0743f946710623cfb55d3ccdb2e89458adc60265 (patch)
tree9d27cc3f625648d418b6840534a964c3e8afc752 /clang/test
parent6c0bc0b378790ca38a3d31fc9571c7f25c4a494d (diff)
downloadbcm5719-llvm-0743f946710623cfb55d3ccdb2e89458adc60265.tar.gz
bcm5719-llvm-0743f946710623cfb55d3ccdb2e89458adc60265.zip
Cleanup \brief comment. Since it is a single paragraph, no need to save newlines there.
llvm-svn: 159325
Diffstat (limited to 'clang/test')
-rw-r--r--clang/test/Index/annotate-comments-unterminated.c4
-rw-r--r--clang/test/Index/annotate-comments.cpp6
2 files changed, 5 insertions, 5 deletions
diff --git a/clang/test/Index/annotate-comments-unterminated.c b/clang/test/Index/annotate-comments-unterminated.c
index d72822a0938..6bba911aac9 100644
--- a/clang/test/Index/annotate-comments-unterminated.c
+++ b/clang/test/Index/annotate-comments-unterminated.c
@@ -1,8 +1,8 @@
// RUN: c-index-test -test-load-source all %s | FileCheck %s
// RUN: %clang_cc1 -fsyntax-only %s 2>&1 | FileCheck -check-prefix=ERR %s
-// CHECK: annotate-comments-unterminated.c:9:5: VarDecl=x:{{.*}} RawComment=[/** Aaa. */]{{.*}} BriefComment=[ Aaa. \n]
-// CHECK: annotate-comments-unterminated.c:11:5: VarDecl=y:{{.*}} RawComment=[/**< Bbb. */]{{.*}} BriefComment=[ Bbb. \n]
+// CHECK: annotate-comments-unterminated.c:9:5: VarDecl=x:{{.*}} RawComment=[/** Aaa. */]{{.*}} BriefComment=[Aaa.]
+// CHECK: annotate-comments-unterminated.c:11:5: VarDecl=y:{{.*}} RawComment=[/**< Bbb. */]{{.*}} BriefComment=[Bbb.]
// CHECK-ERR: error: unterminated
/** Aaa. */
diff --git a/clang/test/Index/annotate-comments.cpp b/clang/test/Index/annotate-comments.cpp
index 59ffa88348a..aa68defe953 100644
--- a/clang/test/Index/annotate-comments.cpp
+++ b/clang/test/Index/annotate-comments.cpp
@@ -268,7 +268,7 @@ void isdoxy47(int);
// CHECK: annotate-comments.cpp:163:7: FieldDecl=isdoxy42:{{.*}} isdoxy42 IS_DOXYGEN_SINGLE
// CHECK: annotate-comments.cpp:176:6: FunctionDecl=isdoxy43:{{.*}} IS_DOXYGEN_START{{.*}} IS_DOXYGEN_END
-// CHECK: annotate-comments.cpp:185:6: FunctionDecl=isdoxy44:{{.*}} BriefComment=[ IS_DOXYGEN_START Aaa bbb\n ccc.\n]
-// CHECK: annotate-comments.cpp:195:6: FunctionDecl=isdoxy45:{{.*}} BriefComment=[\n Ddd eee.\n Fff.\n]
-// CHECK: annotate-comments.cpp:204:6: FunctionDecl=isdoxy47:{{.*}} BriefComment=[ IS_DOXYGEN_START Aaa bbb\n ]
+// CHECK: annotate-comments.cpp:185:6: FunctionDecl=isdoxy44:{{.*}} BriefComment=[IS_DOXYGEN_START Aaa bbb ccc.]
+// CHECK: annotate-comments.cpp:195:6: FunctionDecl=isdoxy45:{{.*}} BriefComment=[Ddd eee. Fff.]
+// CHECK: annotate-comments.cpp:204:6: FunctionDecl=isdoxy47:{{.*}} BriefComment=[IS_DOXYGEN_START Aaa bbb]
OpenPOWER on IntegriCloud