Paul C. Anagnostopoulos via llvm-dev
2021-May-03 23:13 UTC
[llvm-dev] NUL in TableGen files
There are various bits of code scattered throughout the TableGen lexer to deal with NUL characters that are not at the end of the source string. I'd like to clean that up by simply disallowing NULs in .td files. Can anyone think of a legitimate reason to use a NUL in a TableGen file? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210503/d37c55da/attachment.html>
On 2021-05-03, Paul C. Anagnostopoulos via llvm-dev wrote:>There are various bits of code scattered throughout the TableGen lexer >to deal with NUL characters that are not at the end of the source >string. I'd like to clean that up by simply disallowing NULs in .td >files. Can anyone think of a legitimate reason to use a NUL in a >TableGen file?Cleaning up NUL handling in TableGen lexer sounds good.