diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2013-07-23 19:30:11 +0000 |
---|---|---|
committer | Aaron Ballman <aaron@aaronballman.com> | 2013-07-23 19:30:11 +0000 |
commit | b7243381c2b7a7214af5e1f8d557f2d9b85642bf (patch) | |
tree | ea5081c31707ceba3ccc7b58694ef9955977c76e /clang/test/SemaCXX/attr-no-sanitize-memory.cpp | |
parent | 8a0f8238b82ce26af45fbd89a8b0e5b6883b4dce (diff) | |
download | bcm5719-llvm-b7243381c2b7a7214af5e1f8d557f2d9b85642bf.tar.gz bcm5719-llvm-b7243381c2b7a7214af5e1f8d557f2d9b85642bf.zip |
Added the attribute name to the err_attribute_wrong_number_arguments diagnostic for clarity; updated almost all of the affected test cases.
Thanks to Fariborz Jahanian for the suggestion!
llvm-svn: 186980
Diffstat (limited to 'clang/test/SemaCXX/attr-no-sanitize-memory.cpp')
-rw-r--r-- | clang/test/SemaCXX/attr-no-sanitize-memory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/SemaCXX/attr-no-sanitize-memory.cpp b/clang/test/SemaCXX/attr-no-sanitize-memory.cpp index 84acdaca838..d6eca1b69dc 100644 --- a/clang/test/SemaCXX/attr-no-sanitize-memory.cpp +++ b/clang/test/SemaCXX/attr-no-sanitize-memory.cpp @@ -9,7 +9,7 @@ void noanal_fun() NO_SANITIZE_MEMORY; void noanal_fun_args() __attribute__((no_sanitize_memory(1))); // \ - // expected-error {{attribute takes no arguments}} + // expected-error {{'no_sanitize_memory' attribute takes no arguments}} int noanal_testfn(int y) NO_SANITIZE_MEMORY; |