HomePhabricator

[libclang] When initializing an ObjC object via the "[[ClassName alloc] init*]"…

Description

[libclang] When initializing an ObjC object via the "[[ClassName alloc] init*]" pattern,
report the 'init*' invocation as non-dynamic via clang_Cursor_isDynamicCall.

Of course it is dynamic at runtime, but for purposes of indexing we can treat as an invocation to ClassName's init*.

Addresses rdar://18916871.

Details

Committed
akirtzidisNov 10 2014, 3:21 PM
Parents
rL221640: Cleaned up the StringLexer a little bit. It turns
Branches
Unknown
Tags
Unknown

Event Timeline