[llvm-dev] TableGen 'code' type to be eliminated

Paul C. Anagnostopoulos via llvm-dev llvm-dev at lists.llvm.org
Fri Nov 20 16:25:53 PST 2020


Yes, my plan is to keep the reserved word 'code' as a synonym for 'string', and to continue printing code with the [{...}] brackets. 

At 11/20/2020 07:19 PM, Thomas Lively wrote:
>Would it be possible to keep "code" in the TableGen syntax as an alias for "string" while removing the distinction in TableGen backends? That would retain the documentation benefits of "code" in .td files. TBH, this is how I thought "code" and "string" already worked; I wasn't aware of the distinction.



More information about the llvm-dev mailing list