diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2014-04-15 00:36:39 +0000 |
---|---|---|
committer | Aaron Ballman <aaron@aaronballman.com> | 2014-04-15 00:36:39 +0000 |
commit | ef5d94caf067fb3f4980ba847c392921e529ed81 (patch) | |
tree | d10b8810bd1735ab623c18d305f72c3b0004cbe0 /clang/test/Parser/cxx0x-attributes.cpp | |
parent | f9b61e6afd75641c6536774b94703588176cfbf2 (diff) | |
download | bcm5719-llvm-ef5d94caf067fb3f4980ba847c392921e529ed81.tar.gz bcm5719-llvm-ef5d94caf067fb3f4980ba847c392921e529ed81.zip |
Fixing a typo, updating the diagnostic wording and logic based on post-commit review feedback. Amends r206186.
llvm-svn: 206229
Diffstat (limited to 'clang/test/Parser/cxx0x-attributes.cpp')
-rw-r--r-- | clang/test/Parser/cxx0x-attributes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Parser/cxx0x-attributes.cpp b/clang/test/Parser/cxx0x-attributes.cpp index 777a40a4e8a..f8abc76fb2f 100644 --- a/clang/test/Parser/cxx0x-attributes.cpp +++ b/clang/test/Parser/cxx0x-attributes.cpp @@ -326,6 +326,6 @@ namespace GccASan { namespace { [[deprecated]] void bar(); [[deprecated("hello")]] void baz(); - [[deprecated()]] void foo(); // expected-error {{attribute 'deprecated' requires a nonempty argument list}} + [[deprecated()]] void foo(); // expected-error {{parentheses must be omitted if 'deprecated' attribute's argument list is empty}} [[gnu::deprecated()]] void quux(); } |