[clang] [Clang][P1061] Consolidate ResolvedUnpexandedPackExpr into FunctionParmPackExpr (PR #125394)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 3 06:29:47 PST 2025
================
@@ -4278,25 +4276,21 @@ class DecompositionDecl final
// Provide a flattened range to visit each binding.
auto flat_bindings() const {
llvm::ArrayRef<BindingDecl *> Bindings = bindings();
- llvm::ArrayRef<Expr *> PackExprs;
+ llvm::ArrayRef<BindingDecl *> PackBindings;
// Split the bindings into subranges split by the pack.
- auto S1 = Bindings.take_until(
+ auto BeforePackBindings = Bindings.take_until(
----------------
erichkeane wrote:
```suggestion
llvm::ArrayRef<BindingDecl*> BeforePackBindings = Bindings.take_until(
```
https://github.com/llvm/llvm-project/pull/125394
More information about the cfe-commits
mailing list