================
@@ -114,7 +114,7 @@ void test_block_var_from_outside_block(void) {
^{
use_block_var(&once);
};
- dispatch_once(&once, ^{}); // expected-warning{{Call to 'dispatch_once' uses
the block variable 'once' for the predicate value.}}
+ dispatch_once(&once, ^{}); // expected-warning{{Call to 'dispatch_once' uses
the block variable 'once' for the predicate value;}}
}
void test_static_var_from_outside_block(void) {
----------------
benedekaibas wrote:
These are substrings and not full sentences. This test file mixes regex
expected warnings and expected warnings like this one that just use the
substring.
https://github.com/llvm/llvm-project/pull/228777
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits