[clang] [Clang][Sema] Avoid pack expansion for expanded empty PackIndexingExprs (PR #92385)
via cfe-commits
cfe-commits at lists.llvm.org
Mon May 20 05:57:00 PDT 2024
================
@@ -4377,15 +4377,20 @@ class PackIndexingExpr final
// The pack being indexed, followed by the index
Stmt *SubExprs[2];
- size_t TransformedExpressions;
+ // The size of the trailing expressions.
+ unsigned TransformedExpressions : 31;
+
+ LLVM_PREFERRED_TYPE(bool)
+ unsigned EmptyPack : 1;
----------------
cor3ntin wrote:
I think i previously suggested a better name for that
https://github.com/llvm/llvm-project/pull/92385
More information about the cfe-commits
mailing list