[clang] [Clang][P1061] Add stuctured binding packs (PR #121417)
via cfe-commits
cfe-commits at lists.llvm.org
Sun Jan 26 02:48:17 PST 2025
================
@@ -3423,6 +3425,13 @@ VarDecl *BindingDecl::getHoldingVar() const {
return VD;
}
+llvm::ArrayRef<Expr *> BindingDecl::getBindingPackExprs() const {
+ if (!Binding)
+ return {};
----------------
cor3ntin wrote:
Looking at how this is used, i think we can assert here instead
https://github.com/llvm/llvm-project/pull/121417
More information about the cfe-commits
mailing list