summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Fuzzer/FuzzerExtFunctionsDlsym.cpp
diff options
context:
space:
mode:
authorAlex Lorenz <arphaman@gmail.com>2017-03-15 17:16:41 +0000
committerAlex Lorenz <arphaman@gmail.com>2017-03-15 17:16:41 +0000
commit5e895cf2c360ba55d6f2b82fe85f472f0daf8348 (patch)
tree2cbb11d2824ba027a38d18ef1134b4ab2ac1b031 /llvm/lib/Fuzzer/FuzzerExtFunctionsDlsym.cpp
parent545202b8f18636c960e12466d439d18bda874006 (diff)
downloadbcm5719-llvm-5e895cf2c360ba55d6f2b82fe85f472f0daf8348.tar.gz
bcm5719-llvm-5e895cf2c360ba55d6f2b82fe85f472f0daf8348.zip
[ObjC][Sema] Avoid warning about a call to an instance method on an
instance of a qualified Class object when that instance method comes from a protocol that's implemented by NSObject Instance methods from a root class like NSObject are also class methods because the metaclass of root class derives from that root class. Therefore, we can avoid the warning for instances of qualified Class objects that point to classes that derive from NSObject. Note that we actually don't know if a Class instance points to a class that derives from NSObject at compile-time, so we have to make a reasonable assumption that the majority of instances will do so. rdar://22812517 llvm-svn: 297862
Diffstat (limited to 'llvm/lib/Fuzzer/FuzzerExtFunctionsDlsym.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud