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 | 56fe4066e589ff76051d9af0344f931d7adf628a (patch) | |
tree | cb9e284d5cef6baf14c3d5d2c1ac34756099ec7d /clang/test/Sema/warn-documentation.cpp | |
parent | fad9aae937abde5d1df1b885e7bd7a01fea6fd34 (diff) | |
download | bcm5719-llvm-56fe4066e589ff76051d9af0344f931d7adf628a.tar.gz bcm5719-llvm-56fe4066e589ff76051d9af0344f931d7adf628a.zip |
doc. parsing. Improve on diagnostics on my last patch.
// rdar://13094352.
llvm-svn: 176525
Diffstat (limited to 'clang/test/Sema/warn-documentation.cpp')
-rw-r--r-- | clang/test/Sema/warn-documentation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Sema/warn-documentation.cpp b/clang/test/Sema/warn-documentation.cpp index 0e5fef823e5..32e43a77f98 100644 --- a/clang/test/Sema/warn-documentation.cpp +++ b/clang/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; |