[PATCH] D154066: [NFC][TableGen] Refactor the implementation of arguments
Wang Pengcheng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 29 04:49:37 PDT 2023
wangpc created this revision.
wangpc added reviewers: tra, michaelmaitland, craig.topper, nhaehnle, Paul-C-Anagnostopoulos, reames, jrtc27.
Herald added a subscriber: hiraditya.
Herald added a project: All.
wangpc requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
A new Init type `ArgumentInit` is added to represent arguments, the
original way that we pass arguments in positional way is represented
as `PositionalArgument`.
The index of argument in error message is removed.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D154066
Files:
llvm/include/llvm/TableGen/Record.h
llvm/lib/TableGen/Record.cpp
llvm/lib/TableGen/TGParser.cpp
llvm/lib/TableGen/TGParser.h
llvm/test/TableGen/template-args.td
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D154066.535724.patch
Type: text/x-patch
Size: 22080 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230629/af2ac8a0/attachment.bin>
More information about the llvm-commits
mailing list