Treat them just like we do for properties - as a property semantic
token although ideally we could differentiate the two.
Details
Details
- Reviewers
sammccall kadircet - Commits
- rG159dd447fe98: [clangd][ObjC] Highlight Objc Ivar refs
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Thanks! Can you also add a test to FindExplicitReferencesTest.All ? as that's where the underlying change lies.
To disambiguate properties and ivars, what if we used modifiers? I suppose we can mark properties with abstract modifier, but i am not an obj-c person so it might be better for you to vet such an idea.
Comment Actions
Done. I don't think a modifier would make sense though - they're not really abstract. I think it would be better if there was a Field token type, like the Field symbol kind.