HomePhabricator

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

Authored by arphaman on Jun 19 2017, 10:53 AM.

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

llvm-svn: 305719

Details