summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/attr-nodebug.c
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2011-03-02 12:15:05 +0000
committerJohn McCall <rjmccall@apple.com>2011-03-02 12:15:05 +0000
commit80ee5963fde83250a863785135bb7dbc7d45d8ef (patch)
tree706300ea28b57e425bedfcadbe17c208c7099a58 /clang/test/Sema/attr-nodebug.c
parent86bc21ffcf1d4875818c9631bbd95152780655a9 (diff)
downloadbcm5719-llvm-80ee5963fde83250a863785135bb7dbc7d45d8ef.tar.gz
bcm5719-llvm-80ee5963fde83250a863785135bb7dbc7d45d8ef.zip
Pretty up the wrong-number-of-arguments-for-attribute diagnostic by
using a custom plural form. Split out the range diagnostics as their own message. llvm-svn: 126840
Diffstat (limited to 'clang/test/Sema/attr-nodebug.c')
-rw-r--r--clang/test/Sema/attr-nodebug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Sema/attr-nodebug.c b/clang/test/Sema/attr-nodebug.c
index 6865de06026..a66e96168dd 100644
--- a/clang/test/Sema/attr-nodebug.c
+++ b/clang/test/Sema/attr-nodebug.c
@@ -4,5 +4,5 @@ int a __attribute__((nodebug)); // expected-warning {{'nodebug' attribute only a
void t1() __attribute__((nodebug));
-void t2() __attribute__((nodebug(2))); // expected-error {{attribute requires 0 argument(s)}}
+void t2() __attribute__((nodebug(2))); // expected-error {{attribute takes no arguments}}
OpenPOWER on IntegriCloud