[clang] Thread Safety Analysis: Support warning on obtaining address of guarded variables (PR #123063)

Nick Desaulniers via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 4 10:55:07 PST 2025


nickdesaulniers wrote:

> > Doesn't `counted_by` have the same requirements? If not, why does guarded_by?
> 
> It does, AFAIK.

But counted_by _isn't_ using `-fexperimental-late-parse-attributes` IIUC. Do they have the same problem then of needing to reorder member declarations? cc @kees @isanbard @bwendling 

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


More information about the cfe-commits mailing list