aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorDevin Coughlin <dcoughlin@apple.com>2016-04-01 03:24:13 +0000
committerDevin Coughlin <dcoughlin@apple.com>2016-04-01 03:24:13 +0000
commitc239dd13493c94c03156e5da100ee2256ee829e1 (patch)
tree23a11aa8440e95cf8fd0c8cddd9739720e9ad977 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent85fb9e058ed74ad9b4fe919056d1d6874f398b39 (diff)
downloadllvm-c239dd13493c94c03156e5da100ee2256ee829e1.zip
llvm-c239dd13493c94c03156e5da100ee2256ee829e1.tar.gz
llvm-c239dd13493c94c03156e5da100ee2256ee829e1.tar.bz2
[analyzer] Prefer accessor method in extension over category in CallEvent.
In ObjCMethodCall:getRuntimeDefinition(), if the method is an accessor in a category, and it doesn't have a self declaration, first try to find the method in a class extension. This works around a bug in Sema where multiple accessors are synthesized for properties in class extensions that are redeclared in a category. The implicit parameters are not filled in for the method on the category, which causes a crash when trying to synthesize a getter for the property in BodyFarm. The Sema bug is tracked as rdar://problem/25481164. rdar://problem/25056531 llvm-svn: 265103
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions