From 4f3278fe397250b75ba5a0b5a6cf98309bd2ad2c Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 18 Aug 2008 22:51:28 +0000 Subject: [PATCH] proper grammar n stuph git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54954 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/Basic/DiagnosticKinds.def | 2 +- 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; } -- 2.40.0