[clang] [llvm] [Clang] Fix cleanup attribute by delaying type checks after the type is deduced (PR #164440)

Guillot Tony via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 24 14:50:50 PDT 2025


to268 wrote:

As found by Aaron, there is an additional bug with templated types that will need to be fixed before landing this PR.
See: https://godbolt.org/z/8E83bx7jK
I am currently getting the same diagnostic emitted in the `test2()` function.

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


More information about the llvm-commits mailing list