diff options
author | Luke Lau <luke@igalia.com> | 2025-08-14 11:55:55 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-14 11:55:55 +0800 |
commit | af0683548308221520011b160fa5ef91e2e4baea (patch) | |
tree | 337582aa7626eebe081d6f051e17ef2077677895 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | a73403ba8ab86a264231ab8aff600fc890eaf77d (diff) | |
download | llvm-af0683548308221520011b160fa5ef91e2e4baea.zip llvm-af0683548308221520011b160fa5ef91e2e4baea.tar.gz llvm-af0683548308221520011b160fa5ef91e2e4baea.tar.bz2 |
[VPlan] Use parameter packs to avoid unary/binary/ternary matchers. NFC (#152272)
Instead of defining unary/binary/ternary/4ary overloads of each matcher,
we can use parameter packs to support arbitrary numbers of operands.
This allows us to remove the explicit N-ary definitions for each
matcher.
We need to rewrite Recipe_match's constructor to use a parameter pack
too, otherwise we end up with ambiguous overloads.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions