Also output property + getter/setter definition occurrences for both explicit and implicit @synthesize nodes.
Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/Index/IndexDecl.cpp | ||
---|---|---|
286 | You can use D->property_impls() to simplify the code here. | |
test/Index/Core/index-source.m | ||
238 | For this case there is no property definition emitted, so the fooproperty doesn't get associated with the ivar as accessor. We should a emit an implicit property definition, with location pointing at @implementation, and relate it to the ivar. |
Also report an implicit property definition (with relation to the ivar), getter and setter when the @synthesize is implicit.
lib/Index/IndexDecl.cpp | ||
---|---|---|
286 | I should be ObjCPropertyImplDecl and you don't need the cast, right ? |
You can use D->property_impls() to simplify the code here.