================
@@ -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'}}
----------------
Caryoake wrote:
When i was running the test suite i saw that the warning syntax had improved
from C++ style to C style. I got tunnel visioned to passing the string
matching tests and blindly added the expected warning. It was a carelesss
mistake mb.
https://github.com/llvm/llvm-project/pull/199241
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits