]> granicus.if.org Git - clang/commit
Pretty up the wrong-number-of-arguments-for-attribute diagnostic by
authorJohn McCall <rjmccall@apple.com>
Wed, 2 Mar 2011 12:15:05 +0000 (12:15 +0000)
committerJohn McCall <rjmccall@apple.com>
Wed, 2 Mar 2011 12:15:05 +0000 (12:15 +0000)
commitbdc49d360f98c1194d50b8bbb24885bf8d4c1ac4
tree7155378b1e411e2e8204c2d0c9fd4c5088b7a842
parentd5313b0bbf3948fe7c63bf46a7da330c96d07309
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126840 91177308-0d34-0410-b5e6-96231b3b80d8
19 files changed:
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaDeclAttr.cpp
test/Sema/annotate.c
test/Sema/attr-cleanup.c
test/Sema/attr-naked.c
test/Sema/attr-nodebug.c
test/Sema/attr-noinline.c
test/Sema/attr-noreturn.c
test/Sema/attr-regparm.c
test/Sema/attr-unused.c
test/Sema/callingconv.c
test/Sema/constructor-attribute.c
test/Sema/neon-vector-types.c
test/Sema/sentinel-attribute.c
test/SemaCXX/init-priority-attr.cpp
test/SemaObjC/attr-objc-gc.m
test/SemaObjC/format-arg-attribute.m
test/SemaObjC/iboutletcollection-attr.m
test/SemaObjC/method-sentinel-attr.m