[clang] [Thread Safety Analysis] Fix a bug of context saving in alias-analysis (PR #178825)
Marco Elver via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 29 23:50:01 PST 2026
================
@@ -0,0 +1,36 @@
+// RUN: %clang_cc1 -fsyntax-only -verify -Wthread-safety -Wthread-safety-pointer -Wthread-safety-beta %s
----------------
melver wrote:
Not sure this requires C, but if not, could you please reconstruct this test case in the namespace CapabilityAliases in warn-thread-safety-analysis.cpp test.
https://github.com/llvm/llvm-project/pull/178825
More information about the cfe-commits
mailing list