llvm-project/clang/lib/Edit
Argyrios Kyrtzidis 89b928eb6a [objcmt] Check for classes that accept 'objectForKey:' (or the other selectors
that the migrator handles) but return their instances as 'id', resulting
in the compiler resolving 'objectForKey:' as the method from NSDictionary.

When checking if we can convert to subscripting syntax, check whether
the receiver is a result of a class method from a hardcoded list of
such classes. In such a case return the specific class as the interface
of the receiver.

llvm-svn: 159788
2012-07-06 00:07:09 +00:00
..
CMakeLists.txt Remove a goofy CMake hack and use the standard CMake facilities to 2012-06-21 01:30:21 +00:00
Commit.cpp Fix uninitialized variable use bug found by the clairvoyant static analyzer. 2012-06-27 23:45:44 +00:00
EditedSource.cpp [objcmt] When rewriting to array/dictionary literals, add an explicit 2012-05-14 22:01:53 +00:00
Makefile
RewriteObjCFoundationAPI.cpp [objcmt] Check for classes that accept 'objectForKey:' (or the other selectors 2012-07-06 00:07:09 +00:00