This revision makes the NUL character invalid in TableGen .td files.
The first version used sed to convert @ to NUL in the test file. That didn't work on at least one build. This version uses tr.
| Paths 
 |  Differential  D102254  
[TableGen] Make the NUL character invalid in .td files, version 2 ClosedPublic Authored by Paul-C-Anagnostopoulos on May 11 2021, 10:00 AM. 
Details Summary This revision makes the NUL character invalid in TableGen .td files. The first version used sed to convert @ to NUL in the test file. That didn't work on at least one build. This version uses tr. 
Diff Detail 
 Event TimelineComment Actions (can be easier to reuse the same review - that way it's easier to check the diff between the previous committed version of the patch to see what's being fixed) If the only change is from sed to tr - this seems worth a shot. Keep an eye on the bots & see how it goes! This revision is now accepted and ready to land.May 11 2021, 10:10 AM Comment Actions 
 I think you can update the review again - I don't know that there's any explicit "restart" state transition. Closed by commit rGfe9101c3d8db: [TableGen] Make the NUL character invalid in .td files (authored by Paul-C-Anagnostopoulos).  ·  Explain WhyMay 13 2021, 7:18 AM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
Diff 345132 llvm/lib/TableGen/TGLexer.cpp
 llvm/test/TableGen/nul-char.td
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||