diff options
author | Michael Liao <michael.hliao@gmail.com> | 2023-05-30 23:34:47 -0400 |
---|---|---|
committer | Michael Liao <michael.hliao@gmail.com> | 2023-06-07 09:37:40 -0400 |
commit | dcc8f9490f790e7ecbe08a655abec272422df163 (patch) | |
tree | 7f687fb7e340159870628358da644f81831cdbce /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 2011ad0cbbf52a6f3b7bf76aa40578d3ff9fd60d (diff) | |
download | llvm-dcc8f9490f790e7ecbe08a655abec272422df163.zip llvm-dcc8f9490f790e7ecbe08a655abec272422df163.tar.gz llvm-dcc8f9490f790e7ecbe08a655abec272422df163.tar.bz2 |
[TableGen] Add !setdagarg and !setdagname
- This patch proposes to add `!setdagarg` and `!setdagname` bang
operators to produce a new DAG node after replacing the specified
argument value/name from the given input DAG node. E.g.,
`!setdagarg((foo 1, 2), 0, "x")` produces `(foo "x", 2)` and
`!setdagname((foo 1:$a, 2:$b), 1, "c")` produces `(foo 1:$a, 2:$c)`.
Reviewed By: simon_tatham
Differential Revision: https://reviews.llvm.org/D151842
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions