[PATCH] D92269: [TableGen] Eliminate the 'code' type
Paul C. Anagnostopoulos via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Nov 28 16:05:48 PST 2020
Paul-C-Anagnostopoulos added a comment.
Yes, we could create !codeconcat instead, along with !codeinterleave, !codeeq, etc. We could also just extend the existing bang operators to work on the code type. I thought it was cleaner just to get rid of the distinction.
I agree that !subst is a mess, even without this change. My plan is eventually to implement a saner !replace. But I'm not sure why doing string replacement in code is sad.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D92269/new/
https://reviews.llvm.org/D92269
More information about the cfe-commits
mailing list