aboutsummaryrefslogtreecommitdiff
path: root/lib/AST/CommentSema.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
commit1838703fea568b394407b83d1055b4c7f52fb105 (patch)
tree059bd7c16739da1228d9352c3f1152f5a189d741 /lib/AST/CommentSema.cpp
parentc4133a477389dacb4479a96ee2227b92aea0a237 (diff)
[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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159788 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/CommentSema.cpp')
0 files changed, 0 insertions, 0 deletions