diff options
-rw-r--r-- | include/clang/Basic/DiagnosticKinds.def | 2 | ||||
-rw-r--r-- | test/SemaObjC/interface-1.m | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/clang/Basic/DiagnosticKinds.def b/include/clang/Basic/DiagnosticKinds.def index 6eeaffa683..d7eee9f1a6 100644 --- a/include/clang/Basic/DiagnosticKinds.def +++ b/include/clang/Basic/DiagnosticKinds.def @@ -407,7 +407,7 @@ DIAG(err_objc_missing_end, ERROR, DIAG(warn_objc_protocol_qualifier_missing_id, WARNING, "protocol qualifiers without 'id' is archaic") DIAG(warn_objc_array_of_interfaces, WARNING, - "array of interface '%0' should probably be array of pointers") + "array of interface '%0' should probably be an array of pointers") DIAG(err_objc_illegal_visibility_spec, ERROR, "illegal visibility specification") diff --git a/test/SemaObjC/interface-1.m b/test/SemaObjC/interface-1.m index 31706653f5..ea77050505 100644 --- a/test/SemaObjC/interface-1.m +++ b/test/SemaObjC/interface-1.m @@ -20,7 +20,7 @@ NSObject // expected-error {{cannot find interface declaration for 'NSObject @end void test2() { - INT1 b[3]; // expected-warning {{array of interface 'INT1' should probably be array of pointers}} + INT1 b[3]; // expected-warning {{array of interface 'INT1' should probably be an array of pointers}} INT1 *c = &b[0]; ++c; } |