[clang] [clang] Fix the local parameter of void type inside the `Requires` expression. (PR #109831)

Younan Zhang via cfe-commits cfe-commits at lists.llvm.org
Sat Sep 28 08:22:49 PDT 2024


zyn0217 wrote:

> Therefore, I recommend adding the void parameter check directly into SemaExprCXX for an immediate fix. If there's a future need to consolidate the checks, we can consider refactoring later.

That works for me if it turns out to take much more effort than our anticipation,  although it's really a shame for us to end up strewing the check three times.

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


More information about the cfe-commits mailing list