[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
Tue Sep 24 22:27:09 PDT 2024


https://github.com/zyn0217 commented:

There should be a release note :)

I think I agree with @mizvekov's idea of merging the parameter checks into SemaType; we can probably in part reuse GetTypeForDeclarator. I would appreciate it if we can see some exploration here.

Another thing is that we need to make sure the values of such require expressions are false, aligning with other compilers.

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


More information about the cfe-commits mailing list