HomePhabricator

[Parser][ObjC] Use an artificial EOF token while parsing lexed ObjC methods

Description

[Parser][ObjC] Use an artificial EOF token while parsing lexed ObjC methods

This change avoid a crash that occurred when skipping to EOF while parsing an
ObjC interface/implementation.

rdar://31963299

Differential Revision: https://reviews.llvm.org/D34185

Details