[clang] [Analysis] Make ThreadSafety correctly handle base class destructors (PR #169593)

Marco Elver via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 26 00:27:06 PST 2025


================
@@ -0,0 +1,12 @@
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 -Wthread-safety -Wthread-safety-pointer -Wthread-safety-beta -Wno-thread-safety-negative -fcxx-exceptions -DUSE_CAPABILITY=0 %s
----------------
melver wrote:

Why was a new test file created for this and not just added to the existing suite: https://github.com/llvm/llvm-project/blob/main/clang/test/SemaCXX/warn-thread-safety-analysis.cpp ?



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


More information about the cfe-commits mailing list