3cd6feb87a62fb52c31cbc83655d76ace020513f |
|
30-Jul-2013 |
Aaron Ballman <aaron@aaronballman.com> |
err_attribute_not_string has been subsumed by err_attribute_argument_type. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@187400 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/attr-unavailable-message.c
|
2dbdef237491cbe81b8597a6519c6c5f938877cd |
|
18-Jul-2013 |
Aaron Ballman <aaron@aaronballman.com> |
Removed a parameter from handleAttrWithMessage to make it more consistent with other attribute handlers, as well as other attribute error messages. Added missing test cases for the unavailable attribute, and updated the deprecated test case. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186578 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/attr-unavailable-message.c
|
c3b2308f66fe8abd2c1a911b500c0b989c295819 |
|
08-Aug-2012 |
Eli Friedman <eli.friedman@gmail.com> |
Unify the codepaths for emitting deprecation warnings. The test changes are just to account for us emitting notes more consistently. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161528 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/attr-unavailable-message.c
|
350e956532d99ce2e804a478df5b6f1f5e096d88 |
|
27-May-2012 |
Fariborz Jahanian <fjahanian@apple.com> |
-Wdeprecated warning to include reference (as a note) to the declaration in this patch. // rdar://10893232 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157537 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/attr-unavailable-message.c
|
2fe9b7fb07dff15dd15dd8755a9a9e6de0fe46fc |
|
15-Dec-2011 |
Richard Trieu <rtrieu@google.com> |
Modify how the -verify flag works. Currently, the verification string and diagnostic message are compared. If either is a substring of the other, then no error is given. This gives rise to an unexpected case: // expect-error{{candidate function has different number of parameters}} will match the following error messages from Clang: candidate function has different number of parameters (expected 1 but has 2) candidate function has different number of parameters It will also match these other error messages: candidate function function has different number of parameters number of parameters This patch will change so that the verification string must be a substring of the diagnostic message before accepting. Also, all the failing tests from this change have been corrected. Some stats from this cleanup: 87 - removed extra spaces around verification strings 70 - wording updates to diagnostics 40 - extra leading or trailing characters (typos, unmatched parens or quotes) 35 - diagnostic level was included (error:, warning:, or note:) 18 - flag name put in the warning (-Wprotocol) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@146619 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/attr-unavailable-message.c
|
39b4fc888d2b9b8fe1a9c982964b5054ba1c3c73 |
|
28-Nov-2011 |
Fariborz Jahanian <fjahanian@apple.com> |
pinpoint name/location of deprecated/unavailable enumerator whose enum has been made deprecated/unavailable in the warning. // rdar://10201690 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145264 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/attr-unavailable-message.c
|
97db7265ac1993e14e5877292e23d5ed2e9cf719 |
|
29-Sep-2011 |
Fariborz Jahanian <fjahanian@apple.com> |
c - Enumerators may inherit the deprecated/unavailable attributes from the enumeration type. // rdar://10201690 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140800 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/attr-unavailable-message.c
|
12189f573f5dafb7fa33e8dc32ff06cd6fd35963 |
|
17-Jun-2011 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
Don't emit 'unavailable' errors inside an unavailable function. rdar://9623855. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133264 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/attr-unavailable-message.c
|
4820908be98f340a4c2a563a622ae693a7219c50 |
|
08-Nov-2010 |
John McCall <rjmccall@apple.com> |
Document Clang's support for attributes on individual enumerators and tweak the documentation for deprecation-with-message. Provide __has_feature tests for both. rdar://problem/8605692 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@118435 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/attr-unavailable-message.c
|
c784dc1caf0df288a383700f7b57772103b3adab |
|
07-Oct-2010 |
Fariborz Jahanian <fjahanian@apple.com> |
Patch for adding message to unavailable attribute. And its documentation. Finishes off // rdar: // 6734520. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@115862 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Sema/attr-unavailable-message.c
|