[clang] [clang][ThreadSafety] Enable late parse for all capabilities, under the experimental flag (PR #212615)

Aaron Puchert via cfe-commits cfe-commits at lists.llvm.org
Sun Oct 25 16:12:13 PDT 2026


https://github.com/aaronpuchert commented:

I can only tangentially comment on the parser bits, because I'm more familiar with the actual analysis. I like what the change is doing, and it's clear that this should be allowed. But looking at the implementation it seems as if we're struggling with treating this as declaration attribute instead of type attribute. We have to introduce the function parameters in the context of the function pointer variable declaration, instead of in the context of the function prototype itself.

As I wrote on other changes, this is all Ok for now. Talk is cheap, and I don't have the time myself to fix this. It's just a bit of technical debt that we're accumulating every time we add functionality that emulates the behavior of type attributes with declaration attributes.

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


More information about the cfe-commits mailing list