[clang] Thread Safety Analysis: Support attributes on function pointers (PR #191187)

Timm Baeder via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 22 06:47:40 PDT 2026


tbaederr wrote:

> I'm a little bit worried that we're working around the fact that the attributes should be type attributes by allowing placement on different kinds of declarations that incorporate a function type, instead of making them an attribute on the function type themselves.

That was the approach taken in https://github.com/llvm/llvm-project/pull/67095 fwiw.

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


More information about the cfe-commits mailing list