While useful as a sentinel value when iterating over tokens, having
'eof' in the tree, seems to do more harm than good.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D64576
[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
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Aug 5 2019, 1:36 AM Closed by commit rL368062: [Syntax] Do not add a node for 'eof' into the tree (authored by ibiryukov). · Explain WhyAug 6 2019, 10:07 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 213650 cfe/trunk/lib/Tooling/Syntax/BuildTree.cpp
cfe/trunk/unittests/Tooling/Syntax/TreeTest.cpp
|