================
@@ -308,14 +308,14 @@ struct FPOps {
 
 void test_fp_ops(struct FPOps *ops) {
   ops->lock();
-  ops->a = 42;
+  ops->a = 42; // expected-warning {{writing variable 'a' requires holding 
mutex 'ops->mu' exclusively}} expected-note {{found near match 'mu'}}
----------------
melver wrote:

This is wrong - this should not produce a false positive. Why did this change?

https://github.com/llvm/llvm-project/pull/199241
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to