================ @@ -237,7 +237,7 @@ bool Decl::isTemplateParameterPack() const { } bool Decl::isParameterPack() const { - if (const auto *Var = dyn_cast<VarDecl>(this)) + if (const auto *Var = dyn_cast<ValueDecl>(this)) ---------------- zwuis wrote:
My idea about this part of changes is adding `BindingDecl::isParameterPack()` and ```cpp if (const auto *BD = dyn_cast<BindingDecl>(this)) return BD->isParameterPack(); ``` rather than changing `VarDecl::isParameterPack()` to `ValueDecl::isParameterPack()`. WDYT? https://github.com/llvm/llvm-project/pull/121417 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits