Added the attribute name to the err_attribute_wrong_number_arguments...
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! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186980 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- include/clang/Basic/DiagnosticSemaKinds.td 2 additions, 2 deletionsinclude/clang/Basic/DiagnosticSemaKinds.td
- lib/Sema/SemaDeclAttr.cpp 50 additions, 26 deletionslib/Sema/SemaDeclAttr.cpp
- lib/Sema/SemaType.cpp 12 additions, 6 deletionslib/Sema/SemaType.cpp
- lib/Sema/TargetAttributesSema.cpp 16 additions, 8 deletionslib/Sema/TargetAttributesSema.cpp
- test/Sema/annotate.c 2 additions, 2 deletionstest/Sema/annotate.c
- test/Sema/attr-cleanup.c 4 additions, 4 deletionstest/Sema/attr-cleanup.c
- test/Sema/attr-naked.c 2 additions, 2 deletionstest/Sema/attr-naked.c
- test/Sema/attr-nodebug.c 2 additions, 2 deletionstest/Sema/attr-nodebug.c
- test/Sema/attr-noinline.c 1 addition, 1 deletiontest/Sema/attr-noinline.c
- test/Sema/attr-noreturn.c 3 additions, 3 deletionstest/Sema/attr-noreturn.c
- test/Sema/attr-regparm.c 1 addition, 1 deletiontest/Sema/attr-regparm.c
- test/Sema/attr-returns-twice.c 1 addition, 1 deletiontest/Sema/attr-returns-twice.c
- test/Sema/attr-tls_model.c 1 addition, 1 deletiontest/Sema/attr-tls_model.c
- test/Sema/attr-unused.c 1 addition, 1 deletiontest/Sema/attr-unused.c
- test/Sema/callingconv.c 7 additions, 7 deletionstest/Sema/callingconv.c
- test/Sema/mips16_attr_allowed.c 10 additions, 10 deletionstest/Sema/mips16_attr_allowed.c
- test/Sema/neon-vector-types.c 1 addition, 1 deletiontest/Sema/neon-vector-types.c
- test/Sema/overloadable.c 2 additions, 2 deletionstest/Sema/overloadable.c
- test/SemaCXX/attr-no-sanitize-address.cpp 1 addition, 1 deletiontest/SemaCXX/attr-no-sanitize-address.cpp
- test/SemaCXX/attr-no-sanitize-memory.cpp 1 addition, 1 deletiontest/SemaCXX/attr-no-sanitize-memory.cpp
Loading
Please register or sign in to comment