[clang] [Clang] Warn when `std::atomic_thread_fence` is used with `fsanitize=thread` (PR #166542)
Benjamin Stott via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 5 06:32:09 PST 2025
================
@@ -1769,3 +1769,5 @@ def ExplicitSpecializationStorageClass : DiagGroup<"explicit-specialization-stor
// A warning for options that enable a feature that is not yet complete
def ExperimentalOption : DiagGroup<"experimental-option">;
+
+def TSan : DiagGroup<"tsan">;
----------------
BStott6 wrote:
The string is "tsan" to match GCC, I am happy to rename the record though
How about `ThreadSanitizerWarnings`?
https://github.com/llvm/llvm-project/pull/166542
More information about the cfe-commits
mailing list