[clang] Thread Safety Analysis: Improved pointer handling (PR #127396)

Marco Elver via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 26 03:11:07 PST 2025


melver wrote:

> I think this looks very good! I just have some minor remarks.
> 
> Thanks to @aoates for trying this out, this is always appreciated!
> 
> And sorry for the delay.

Thanks for the review! I addressed the comments, PTAL.

Note, I think for now it might be safer to not enable by default yet, but I've made a note (and hinted at in changelog) that we're planning to default enable in future, so that should give folks enough time to deal with new findings without breaking things just yet.

Looking forward to landing this, as I'm sure it'll also uncover new findings in existing codebases using -Wthread-safety already.

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


More information about the cfe-commits mailing list