[TableGen] Make the NUL character invalid in .td files
authorPaul C. Anagnostopoulos <paul@windfall.com>
Wed, 5 May 2021 16:03:50 +0000 (12:03 -0400)
committerPaul C. Anagnostopoulos <paul@windfall.com>
Tue, 11 May 2021 13:20:42 +0000 (09:20 -0400)
commit6ca2bdb03c0fdb6736ed5c6a30d7bec6b557d1a0
treefd547e893b8b52e07f276849ddf162fcb66c8cbf
parent759b97e55a4bd7b0d89493686f4a769718e385ee
[TableGen] Make the NUL character invalid in .td files

Differential Revision: https://reviews.llvm.org/D101923
llvm/lib/TableGen/TGLexer.cpp
llvm/test/TableGen/nul-char.td [new file with mode: 0644]