Go to file
Alex Denisov e1d882c726 New ObjC warning: circular containers.
This commit adds new warning to prevent user from creating 'circular containers'.

Mutable collections from NSFoundation allows user to add collection to itself, e.g.: 

NSMutableArray *a = [NSMutableArray new]; 
[a addObject:a]; 

The code above leads to really weird behaviour (crashes, 'endless' recursion) and 
retain cycles (collection retains itself) if ARC enabled.

Patch checks the following collections: 
  - NSMutableArray, 
  - NSMutableDictionary, 
  - NSMutableSet, 
  - NSMutableOrderedSet, 
  - NSCountedSet. 

llvm-svn: 231265
2015-03-04 17:55:52 +00:00
clang New ObjC warning: circular containers. 2015-03-04 17:55:52 +00:00
clang-tools-extra [clang-tidy] Output more diagnostics in check_clang_tidy.sh 2015-03-04 12:07:50 +00:00
compiler-rt [asan] more fixes for x32, patches by H.J. Lu 2015-03-03 23:46:40 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc Move mix from math to common 2015-03-03 21:25:08 +00:00
libcxx Nbjoerg suggested a better name for the macro for the default rune table: _LIBCPP_PROVIDES_DEFAULT_RUNE_TABLE 2015-03-04 16:50:02 +00:00
libcxxabi [libcxxabi] Build both static and shared versions of libc++abi by default. 2015-03-03 15:59:09 +00:00
lld Make File non-const in the resolver. 2015-03-04 04:36:46 +00:00
lldb Don't #include clang headers from BreakpointLocation.h 2015-03-04 17:43:00 +00:00
llgo [llgo] debug: create replaceable type through DIBuilder 2015-03-02 12:42:45 +00:00
llvm Revert the test commit. 2015-03-04 17:44:22 +00:00
openmp Cleanup provided by Carlo Bertolli 2015-03-03 16:19:57 +00:00
polly Update Polly tests for the great metadata schema change 2015-03-03 18:17:26 +00:00