diff options
| author | John McCall <rjmccall@apple.com> | 2015-10-28 05:03:19 +0000 |
|---|---|---|
| committer | John McCall <rjmccall@apple.com> | 2015-10-28 05:03:19 +0000 |
| commit | c6af8c606dae9a9b728d5099d5964ea6540dc22c (patch) | |
| tree | 0a19128c0f58cc451454838159b232968eb359e5 /clang/test/SemaObjCXX/arc-system-header.mm | |
| parent | 9b1534df9da6695fde3d639e8ee3b9a7cf36b0a4 (diff) | |
| download | bcm5719-llvm-c6af8c606dae9a9b728d5099d5964ea6540dc22c.tar.gz bcm5719-llvm-c6af8c606dae9a9b728d5099d5964ea6540dc22c.zip | |
Refine r251469 to give better (and more localizable) diagnostics
for all the reasons that ARC makes things implicitly unavailable.
llvm-svn: 251496
Diffstat (limited to 'clang/test/SemaObjCXX/arc-system-header.mm')
| -rw-r--r-- | clang/test/SemaObjCXX/arc-system-header.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/SemaObjCXX/arc-system-header.mm b/clang/test/SemaObjCXX/arc-system-header.mm index b97e2f3b1eb..5f5445c8956 100644 --- a/clang/test/SemaObjCXX/arc-system-header.mm +++ b/clang/test/SemaObjCXX/arc-system-header.mm @@ -4,6 +4,6 @@ void f(A* a) { a->data.void_ptr = 0; - a->data.a_b.b = 0; // expected-error{{'a_b' is unavailable: this system field has retaining ownership}} + a->data.a_b.b = 0; // expected-error{{'a_b' is unavailable in ARC}} } -// expected-note@arc-system-header.h:10{{'a_b' has been explicitly marked unavailable here}} +// expected-note@arc-system-header.h:10{{field has non-trivial ownership qualification}} |

