[clang] [Clang] SemaFunctionEffects: Fix bug where lambdas produced by template expansion weren't verified. (PR #116505)

via cfe-commits cfe-commits at lists.llvm.org
Sat Nov 16 12:54:07 PST 2024


https://github.com/Sirraide approved this pull request.

Ah yeah, I should have noticed that in review: `ActOnX` is generally only called during parsing, whereas `BuildX` is also called during template instantiation.

As for the template notes, I don’t have a good solution for those either...

Also, we *do* have tests for function templates and generic lambdas, right? If not, we should definitely add some.

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


More information about the cfe-commits mailing list