diff options
author | Dmitri Gribenko <gribozavr@gmail.com> | 2013-03-04 20:23:16 +0000 |
---|---|---|
committer | Dmitri Gribenko <gribozavr@gmail.com> | 2013-03-04 20:23:16 +0000 |
commit | 05e22f2ef0dd954b7328c0fbf619d2c0089870e1 (patch) | |
tree | e1e9643a35c2fc22089f328991401be67be1f6dc /clang/test/Sema/warn-documentation.cpp | |
parent | c551ecc8f08f0cb71c348f9e4e39a302942b652b (diff) | |
download | bcm5719-llvm-05e22f2ef0dd954b7328c0fbf619d2c0089870e1.tar.gz bcm5719-llvm-05e22f2ef0dd954b7328c0fbf619d2c0089870e1.zip |
Comment parsing tests: move a test into a group of similar tests
llvm-svn: 176449
Diffstat (limited to 'clang/test/Sema/warn-documentation.cpp')
-rw-r--r-- | clang/test/Sema/warn-documentation.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/clang/test/Sema/warn-documentation.cpp b/clang/test/Sema/warn-documentation.cpp index d054fac9907..431bec11479 100644 --- a/clang/test/Sema/warn-documentation.cpp +++ b/clang/test/Sema/warn-documentation.cpp @@ -405,6 +405,12 @@ class test_tparam19 { }; // ---- +// expected-warning@+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(int aaa, int bbb) {} template<typename T> void test_attach37<T>::test_attach39(int aaa, int bbb) {} -// expected-warning@+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. |