This is an archive of the discontinued LLVM Phabricator instance.

[Syntax] Do not add a node for 'eof' into the tree
ClosedPublic

Authored by ilya-biryukov on Jul 11 2019, 11:11 AM.

Details

Summary

While useful as a sentinel value when iterating over tokens, having
'eof' in the tree, seems to do more harm than good.

Diff Detail

Repository
rL LLVM

Event Timeline

ilya-biryukov created this revision.Jul 11 2019, 11:11 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 11 2019, 11:11 AM
sammccall accepted this revision.Aug 5 2019, 1:36 AM
This revision is now accepted and ready to land.Aug 5 2019, 1:36 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptAug 6 2019, 10:07 AM