diff options
-rw-r--r-- | include/clang/Basic/DiagnosticSemaKinds.td | 2 | ||||
-rw-r--r-- | test/FixIt/fixit-recursive-block.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/clang/Basic/DiagnosticSemaKinds.td b/include/clang/Basic/DiagnosticSemaKinds.td index ec7a0597f1..07a94be54b 100644 --- a/include/clang/Basic/DiagnosticSemaKinds.td +++ b/include/clang/Basic/DiagnosticSemaKinds.td @@ -1147,7 +1147,7 @@ def warn_uninit_byref_blockvar_captured_by_block : Warning< "block pointer variable %0 is uninitialized when captured by block">, InGroup<Uninitialized>, DefaultIgnore; def note_block_var_fixit_add_initialization : Note< - "consider using a '__block' variable %0 to silence this warning">; + "maybe you meant to use __block %0">; def note_var_fixit_add_initialization : Note< "initialize the variable %0 to silence this warning">; def err_init_incomplete_type : Error<"initialization of incomplete type %0">; diff --git a/test/FixIt/fixit-recursive-block.c b/test/FixIt/fixit-recursive-block.c index c1f69266b3..b276b417ac 100644 --- a/test/FixIt/fixit-recursive-block.c +++ b/test/FixIt/fixit-recursive-block.c @@ -5,7 +5,7 @@ int main() { void (^arc_fail)() = ^() { // expected-warning {{block pointer variable 'arc_fail' is uninitialized when captured by block}} \ - // expected-note {{consider using a '__block' variable 'arc_fail' to silence this warning}} + // expected-note {{maybe you meant to use __block 'arc_fail'}} arc_fail(); // BOOM }; } |