llvm-project/clang/lib
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
..
ARCMigrate Drop the ASTContext.h include from DeclFriend.h and DeclTemplate.h. 2012-07-04 20:19:54 +00:00
AST Drop the ASTContext.h include from DeclFriend.h and DeclTemplate.h. 2012-07-04 20:19:54 +00:00
Analysis Thread-safety analysis: eliminate false positives in case where the definition 2012-07-05 21:16:29 +00:00
Basic MIPS: Define __mips_dsp_rev / __mips_dspr2 / __mips_dsp macros 2012-07-05 20:16:22 +00:00
CodeGen Remove get(V)BaseClassOffsetInBits, the CharUnit functions should be used instead. 2012-07-04 18:45:14 +00:00
Driver MIPS: Add -mdsp/-mno-dsp and -mdspr2/-mno-dspr2 command line options support. 2012-07-05 19:23:00 +00:00
Edit [objcmt] Check for classes that accept 'objectForKey:' (or the other selectors 2012-07-06 00:07:09 +00:00
Frontend [libclang] Protect against a race condition where a thread 2012-07-03 16:30:52 +00:00
FrontendTool Remove a goofy CMake hack and use the standard CMake facilities to 2012-06-21 01:30:21 +00:00
Headers Rename tzcnt intrinsics to match gcc. 2012-07-02 06:52:51 +00:00
Lex Share ConvertUTF8toWide() between Lex and CodeGen. 2012-07-03 02:24:52 +00:00
Parse objective-c++ parsing. Turn off delayed parsing 2012-07-05 19:34:20 +00:00
Rewrite objective-c modern translator: synthesize argument type 2012-06-29 19:55:46 +00:00
Sema objective-c: don't involve properties when checking 2012-07-05 22:26:07 +00:00
Serialization Drop the ASTContext.h include from DeclFriend.h and DeclTemplate.h. 2012-07-04 20:19:54 +00:00
StaticAnalyzer [analyzer] Add a statistic for maximum CFG size and a script to summarize analyzer stats from scan-build output. 2012-07-05 20:44:02 +00:00
Tooling Adapts the FrontendAction convenience functions so that it can be 2012-07-05 18:13:01 +00:00
CMakeLists.txt Fix a big layering violation introduced by r158771. 2012-06-20 09:53:52 +00:00
Makefile Fix a big layering violation introduced by r158771. 2012-06-20 09:53:52 +00:00