diff options
| author | Dmitri Gribenko <gribozavr@gmail.com> | 2019-08-25 18:20:18 +0000 |
|---|---|---|
| committer | Dmitri Gribenko <gribozavr@gmail.com> | 2019-08-25 18:20:18 +0000 |
| commit | c955e4a910ed64a0c9039216267798b59f0d0f44 (patch) | |
| tree | c8d8b79d421135f4dd9cd71449942bb7a8adcc15 /clang/test | |
| parent | b8b90ac1c515291ad66920b30e14467fee96f448 (diff) | |
| download | bcm5719-llvm-c955e4a910ed64a0c9039216267798b59f0d0f44.tar.gz bcm5719-llvm-c955e4a910ed64a0c9039216267798b59f0d0f44.zip | |
[Wdocumentation] improve wording of a warning message
Based on @davezarzycki remarks in D64696 improved the wording of the warning
message.
Differential Revision: https://reviews.llvm.org/D66700
Patch by Mark de Wever.
llvm-svn: 369873
Diffstat (limited to 'clang/test')
| -rw-r--r-- | clang/test/Sema/warn-documentation.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/clang/test/Sema/warn-documentation.cpp b/clang/test/Sema/warn-documentation.cpp index ecda6dd57c4..306c413c87e 100644 --- a/clang/test/Sema/warn-documentation.cpp +++ b/clang/test/Sema/warn-documentation.cpp @@ -1050,42 +1050,42 @@ template <typename B> void test_attach38<int>::test_attach39(int, B); // The inline comments expect a string after the command. -// expected-warning@+1 {{'\a' command does not have an argument}} +// expected-warning@+1 {{'\a' command does not have a valid word argument}} /// \a int test_inline_no_argument_a_bad(int); /// \a A int test_inline_no_argument_a_good(int); -// expected-warning@+1 {{'@b' command does not have an argument}} +// expected-warning@+1 {{'@b' command does not have a valid word argument}} /// @b int test_inline_no_argument_b_bad(int); /// @b A int test_inline_no_argument_b_good(int); -// expected-warning@+1 {{'\c' command does not have an argument}} +// expected-warning@+1 {{'\c' command does not have a valid word argument}} /// \c int test_inline_no_argument_c_bad(int); /// \c A int test_inline_no_argument_c_good(int); -// expected-warning@+1 {{'\e' command does not have an argument}} +// expected-warning@+1 {{'\e' command does not have a valid word argument}} /// \e int test_inline_no_argument_e_bad(int); /// \e A int test_inline_no_argument_e_good(int); -// expected-warning@+1 {{'\em' command does not have an argument}} +// expected-warning@+1 {{'\em' command does not have a valid word argument}} /// \em int test_inline_no_argument_em_bad(int); /// \em A int test_inline_no_argument_em_good(int); -// expected-warning@+1 {{'\p' command does not have an argument}} +// expected-warning@+1 {{'\p' command does not have a valid word argument}} /// \p int test_inline_no_argument_p_bad(int); |

