651f13cea278ec967336033dd032faef0e9fc2ec |
|
24-Apr-2014 |
Stephen Hines <srhines@google.com> |
Updated to Clang 3.5a. Change-Id: I8127eb568f674c2e72635b639a3295381fe8af82
/external/clang/test/ARCMT/checking.m
|
24016765c905a02c9df94ef0b8a50c5e74fff5c2 |
|
09-Aug-2013 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
[arcmt] When handling unbridged casts, handle the body of BlockDecl separately because ParentMap does not record Stmt parent nodes inside a BlockDecl. Fixes rdar://14686900 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188101 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/ARCMT/checking.m
|
bde67cfdf05f7c569661e7a490b0b0811ac1ec56 |
|
28-Jan-2013 |
Douglas Gregor <dgregor@apple.com> |
Undo my re-wording of the "ARC forbids Objective-C objects in ..." error. Jordan is right. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173713 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/ARCMT/checking.m
|
4581d45405f07374770366be8644d52733985833 |
|
28-Jan-2013 |
Douglas Gregor <dgregor@apple.com> |
Forbid the use of objects in unions in Objective-C++ ARC. Fixes <rdar://problem/13098104>. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173708 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/ARCMT/checking.m
|
4ce831cba3ae3030674fd9d90f8a69f7b3938d63 |
|
08-Jan-2013 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
[arcmt] Follow-up for r171484; make sure when adding brackets enclosing case statements, that the case does not "contain" a declaration that is referenced "outside" of it, otherwise we will emit un-compilable code. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171828 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/ARCMT/checking.m
|
ea2224d7078c4d31ad32adbaba4bdc2d85a3d609 |
|
04-Jan-2013 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
[arcmt] Adds brackets in case statements that "contain" initialization of retaining variable, thus emitting the "switch case is in protected scope" error. rdar://12952016 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171484 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/ARCMT/checking.m
|
607f587a8cdf590f947a0248df8f18082eac8229 |
|
27-Jul-2012 |
Fariborz Jahanian <fjahanian@apple.com> |
revert r160839 for now. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160895 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/ARCMT/checking.m
|
304efd5962eaca7179f43846fff1880a5e5e873c |
|
27-Jul-2012 |
Fariborz Jahanian <fjahanian@apple.com> |
objc-arc: When objects with known CF semantics are assigned to retainable types in arc, only suggest CFBridgingRelease/ CFBridgingRetain and not the confusing __bridge casts. // rdar://11923822 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160839 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/ARCMT/checking.m
|
a1eec4bd198b96ef40a7c15cd0e131ca94511ad8 |
|
04-Jul-2012 |
Fariborz Jahanian <fjahanian@apple.com> |
objective-c: Refactor parse/sema portion of objective-c's fast enumeration statement, for more work to come. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159689 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/ARCMT/checking.m
|
ffe76ddfe23002434a30e3e02475c870ed2d6e40 |
|
20-Jun-2012 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
[arcmt] When migrating to ARC disable -Werror so as to only block migration for "hard" ARC errors, not warnings. rdar://11691437 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158781 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/ARCMT/checking.m
|
1ea6744b3da4b052acb7ed67e717cd70df5b5977 |
|
05-Jun-2012 |
Fariborz Jahanian <fjahanian@apple.com> |
objective-c: merge deprecated/unavailable attributes to the overriding deprecated/unavailable method. // rdar://11475360 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158022 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/ARCMT/checking.m
|
1b8fbd3601e009803565e74d2ec54abecb5cbf73 |
|
23-May-2012 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
[arcmt] Remove an unused -autorelease, without failing with error, for this idiom that is used commonly in setters: [backingValue autorelease]; backingValue = [newValue retain]; // in general a +1 assign rdar://9914061 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157347 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/ARCMT/checking.m
|
5a42a0292ad4d11ccf0ae9d06f6c15c3c811adfd |
|
21-May-2012 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
[arcmt] Revert r156999 "Remove the "it is not safe to remove an unused 'autorelease' message" ARC migration error". Per feedback from John this is useful to have in general. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157198 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/ARCMT/checking.m
|
b6a1b10a8d9e0405b7a0d12273623c7f4d23f7d9 |
|
17-May-2012 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
[arcmt] Remove the "it is not safe to remove an unused 'autorelease' message" ARC migration error. This is more trouble that it is worth; autoreleasing a value without holding on it is a valid use-case, we should not "punish" correct code for the minority of broken/fragile programs that depend on the behavior of -autorelease. rdar://9914061 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156999 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/ARCMT/checking.m
|
d6cf912e1e33167452f328d15b98a790c58c03c0 |
|
10-Feb-2012 |
Ted Kremenek <kremenek@apple.com> |
Revert r145999. This turned out to be a bad idea. Unfortunately, 'id' is used so profusely in many APIs and large codebases that this made the deprecated warning trigger happy to the point of not being useful. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150223 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/ARCMT/checking.m
|
52b6236427e7b608eadaac2bf8f5a24dd16a1130 |
|
01-Feb-2012 |
Fariborz Jahanian <fjahanian@apple.com> |
Look for declaration of CFBridgingRetain/CFBridgingRetain before changing the diagnostic. Also use correct spelling for both. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149554 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/ARCMT/checking.m
|
7eb82f0d094d7180e7dee4fdea6a276c5febf81b |
|
01-Feb-2012 |
Fariborz Jahanian <fjahanian@apple.com> |
objc-arc: In various diagnostics mention CFBridgingRetain/CFBridgingRelease calls instead of __bridge_retained/__bridge_transfer casts as preferred way of moving cf objects to arc land. // rdar://10207950 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149449 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/ARCMT/checking.m
|
d8b4216c82d6ab1f8f2fb49c052aaea263027d7b |
|
12-Jan-2012 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
[arcmt] The migrator tests for the buildbot in http://lab.llvm.org:8011/builders/clang-native-mingw32-win7/ are messed up, XFAIL does not help. Waiting until DISABLE is supported.. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148012 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/ARCMT/checking.m
|
510037b4c28f1a6a78660f93299d2db25676f68b |
|
10-Jan-2012 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
[arcmt] XFAIL on mingw. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147830 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/ARCMT/checking.m
|
b004a494375ecac178d956edeae42ac680e8d34e |
|
07-Jan-2012 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
[arcmt] Disable tests in mingw, no idea why they are failing there. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147713 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/ARCMT/checking.m
|
48977874cb351f452102f8c15528eb1d8c7387e6 |
|
09-Dec-2011 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
[arcmt] Un-XFAIL a test. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@146210 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/ARCMT/checking.m
|
b76a97e91dc4bea0b6b3da06c84e02f50cd351d3 |
|
07-Dec-2011 |
Fariborz Jahanian <fjahanian@apple.com> |
objc: issue deprecated/unavailable diagnostic when methods with these attributes are sent to receivers of 'id' type too. // rdar://10459930 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145999 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/ARCMT/checking.m
|
5acb0c98b363400f6ade0ae7250f0102224e806b |
|
17-Oct-2011 |
John McCall <rjmccall@apple.com> |
Teach the ARC compiler to not require __bridge casts when passing/receiving CF objects at +0 to/from Objective-C methods or audited C functions. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142219 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/ARCMT/checking.m
|
d1e40d5389a4382cbebc97d54792f41ee0414af4 |
|
02-Oct-2011 |
John McCall <rjmccall@apple.com> |
Make -fobjc-nonfragile-abi the -cc1 default, since it's the increasingly prevailing case to the point that new features like ARC don't even support the fragile ABI anymore. This required a little bit of reshuffling with exceptions because a check was assuming that ObjCNonFragileABI was only being set in ObjC mode, and that's actually a bit obnoxious to do. Most, though, it involved a perl script to translate a ton of test cases. Mostly no functionality change for driver users, although there are corner cases with disabling language-specific exceptions that we should handle more correctly now. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140957 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/ARCMT/checking.m
|
82a921a1a4811f2d6411bcafcb2b7d59a4dd9080 |
|
16-Jul-2011 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
[arcmt] It's not safe to remove the -release on "[[someivar delegate] release];" since it's very likely that, after migration, the object that was passed to 'setDelegate:' will not be properly retained, e.g: -whatever { id x = [[MyDoHicky alloc] init]; [someivar setDelegate: x]; // x won't get retained in ARC. } -dealloc { [[someivar delegate] release]; // give migration error here. } rdar://8858009 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135327 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/ARCMT/checking.m
|
2c18ca0575b60082f2a9f4563b4071071960d37c |
|
15-Jul-2011 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
[arcmt] Don't remove retains/releases on a global variable, flag them with errors. rdar://9402555. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135213 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/ARCMT/checking.m
|
2cd5366ff52b4592776ee4db27012d16fb995c62 |
|
15-Jul-2011 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
[arcmt] Allow -retain of an __unsafe_unretained receiver if the result gets used. Keep the error if the result is unused. rdar://9552694. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135209 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/ARCMT/checking.m
|
e0e40768cc8c4b2a9093dac3d777e0d362cb7a88 |
|
14-Jul-2011 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
[arcmt] Emit an error for unused -autorelease messages. An unused autorelease is badness. If we remove it the receiver will likely die immediately while previously it was kept alive by the autorelease pool. This is bad practice in general, so leave it and emit an error to force the user to restructure his code. rdar://9599884 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135193 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/ARCMT/checking.m
|
0a85183be6930571f3af8e5a976d24c3f95e5b25 |
|
02-Jul-2011 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
[ARC] When casting from a pointer to an objective-c object with known ownership, if the cast type has no ownership specified, implicitly "transfer" the ownership of the cast'ed type to the cast type: id x; (NSString**)&x; // Casting as (__strong NSString**). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134275 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/ARCMT/checking.m
|
cf79eba65b327acad1cbb5b35b26fa751f6d7132 |
|
24-Jun-2011 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
[arcmt] Add test for rdar://9601437. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133807 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/ARCMT/checking.m
|
b8b0313e84700b5c6d597b3be4de41c97b7550f1 |
|
24-Jun-2011 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
Rename objc_lifetime -> objc_ownership, and modify diagnostics to talk about 'ownership', not 'lifetime'. rdar://9477613. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133779 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/ARCMT/checking.m
|
7bf952e60114bbe54b25c4fe7379e7db097695e7 |
|
22-Jun-2011 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
[arcmt] Make -Warc-unsafe-retained-assign an error when migrating. rdar://8939557 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133627 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/ARCMT/checking.m
|
e665d6929e11796620ff799bc0186ebd747bfc76 |
|
18-Jun-2011 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
[arcmt] Fix the ARC migrator. -arcmt-modify requires running before the initialization of SourceManager because it is going to modify the input file. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133323 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/ARCMT/checking.m
|
8f0e8d22960d56f8390f4971e2c0f2f0a0884602 |
|
16-Jun-2011 |
John McCall <rjmccall@apple.com> |
The ARC Migration Tool. All the credit goes to Argyrios and Fariborz for this. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133104 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/ARCMT/checking.m
|