diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2013-03-05 22:46:07 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2013-03-05 22:46:07 +0000 |
commit | 99a7057098c56211e641705e1ff38d4b7c8b309d (patch) | |
tree | 2c570446d73918c5216cd44e26066a92220d59b6 /test/Sema/warn-documentation.cpp | |
parent | f32e11dcec10f5f52eded47c3c9e9608dbdc1a08 (diff) |
doc. parsing. Improve on diagnostics on my last patch.
// rdar://13094352.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176525 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Sema/warn-documentation.cpp')
-rw-r--r-- | test/Sema/warn-documentation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Sema/warn-documentation.cpp b/test/Sema/warn-documentation.cpp index 0e5fef823e..32e43a77f9 100644 --- a/test/Sema/warn-documentation.cpp +++ b/test/Sema/warn-documentation.cpp @@ -549,13 +549,13 @@ namespace test_returns_wrong_decl_10 { }; typedef unsigned int test_returns_wrong_decl_11; // rdar://13094352 -// expected-warning@+1 {{'@function' command used in a comment that is attached to a non-function declaration immediately following it}} +// expected-warning@+1 {{'@function' command should be used in a comment attached to a function declaration}} /*! @function test_function */ typedef unsigned int Base64Flags; unsigned test_function(Base64Flags inFlags); -// expected-warning@+1 {{'@callback' command used in a comment that is attached to a non-callback declaration immediately following it}} +// expected-warning@+1 {{'@callback' command should be used in a comment attached to a pointer to function declaration}} /*! @callback test_callback */ typedef unsigned int BaseFlags; |