r176449 - Comment parsing tests: move a test into a group of similar tests
Dmitri Gribenko
gribozavr at gmail.com
Mon Mar 4 12:23:16 PST 2013
Author: gribozavr
Date: Mon Mar 4 14:23:16 2013
New Revision: 176449
URL: http://llvm.org/viewvc/llvm-project?rev=176449&view=rev
Log:
Comment parsing tests: move a test into a group of similar tests
Modified:
cfe/trunk/test/Sema/warn-documentation.cpp
Modified: cfe/trunk/test/Sema/warn-documentation.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/warn-documentation.cpp?rev=176449&r1=176448&r2=176449&view=diff
==============================================================================
--- cfe/trunk/test/Sema/warn-documentation.cpp (original)
+++ cfe/trunk/test/Sema/warn-documentation.cpp Mon Mar 4 14:23:16 2013
@@ -405,6 +405,12 @@ class test_tparam19 { };
// ----
+// expected-warning at +1 {{'@tparam' command used in a comment that is not attached to a template declaration}}
+/// @tparam T Aaa
+int test_tparam22;
+
+// ----
+
/// Aaa
/// \deprecated Bbb
@@ -799,10 +805,6 @@ void test_attach37<int>::test_attach38(i
template<typename T>
void test_attach37<T>::test_attach39(int aaa, int bbb) {}
-// expected-warning at +1 {{'@tparam' command used in a comment that is not attached to a template declaration}}
-/// @tparam T Aaa
-int test_tparam22;
-
// We used to emit warning that parameter 'a' is not found because we parsed
// the comment in context of the redeclaration which does not have parameter
// names.
More information about the cfe-commits
mailing list