summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/CommentLexer.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-07-06 00:07:09 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-07-06 00:07:09 +0000
commit89b928eb6afbc0fcd1685711cf4dba5cc7a21b77 (patch)
tree9fc617d72804b6e59517129e5cd6bda7f9c2d294 /clang/lib/AST/CommentLexer.cpp
parentb2af512cef448ac4e9d866b38c2b49f6cc79ad62 (diff)
downloadbcm5719-llvm-89b928eb6afbc0fcd1685711cf4dba5cc7a21b77.tar.gz
bcm5719-llvm-89b928eb6afbc0fcd1685711cf4dba5cc7a21b77.zip
[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
Diffstat (limited to 'clang/lib/AST/CommentLexer.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud