diff options
author | Chris Lattner <sabre@nondot.org> | 2008-07-21 04:54:33 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-07-21 04:54:33 +0000 |
commit | 88a72516e2baac09e1986c0c68347045052d021d (patch) | |
tree | b3c81f212b6624374490a3a8c2582b66f10f17a3 | |
parent | 123a11f2fd40fc56333ea67b77d4476b0d9339c0 (diff) |
right, the error is when the itf *doesn't* have the member.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@53826 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/clang/Basic/DiagnosticKinds.def | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Basic/DiagnosticKinds.def b/include/clang/Basic/DiagnosticKinds.def index b17102dede..2ae518eb48 100644 --- a/include/clang/Basic/DiagnosticKinds.def +++ b/include/clang/Basic/DiagnosticKinds.def @@ -882,7 +882,7 @@ DIAG(err_typecheck_subscript_not_object, ERROR, DIAG(err_typecheck_member_reference_structUnion, ERROR, "member reference is not to a structure or union") DIAG(err_typecheck_member_reference_ivar, ERROR, - "'%0' has member named '%1'") + "'%0' does not have a member named '%1'") DIAG(err_typecheck_member_reference_arrow, ERROR, "member reference is not a pointer") DIAG(err_typecheck_incomplete_tag, ERROR, |