[clang] Thread Safety Analysis: Improved pointer handling (PR #127396)
Marco Elver via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 26 02:49:05 PST 2025
================
@@ -528,6 +529,9 @@ for a period of time, after which they are migrated into the standard analysis.
* ``-Wthread-safety-beta``: New features. Off by default.
+ + ``-Wthread-safety-pointer``: Checks when passing or returning pointers to
+ guarded variables, or pointers to guarded data, as function argument or
+ return value respectively.
----------------
melver wrote:
Moved the flag away from beta, but not default enabled yet.
https://github.com/llvm/llvm-project/pull/127396
More information about the cfe-commits
mailing list