[llvm-dev] NUL in TableGen files

Fangrui Song via llvm-dev llvm-dev at lists.llvm.org
Tue May 4 17:45:54 PDT 2021


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.


More information about the llvm-dev mailing list