[clang] [clang][Sema] Ignore the parentheses in the guard of DiagnoseUnexpandedParameterPack (PR #86401)

David Blaikie via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 25 11:32:59 PDT 2024


dwblaikie wrote:

Hmm, actually - does this fix address /other/ ways a pack could appear, like this? https://godbolt.org/z/oez8TbGqM 

Presumably a pack could appear in a variety of expressions, not just wrapped in parens - could be in a function call (as in the above example), or nested arbitrarily more deeply in the expression in any number of other expressions?

https://github.com/llvm/llvm-project/pull/86401


More information about the cfe-commits mailing list