From: Steve Naroff Date: Thu, 17 Jan 2008 19:24:05 +0000 (+0000) Subject: Improve diagnostic wording... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2c0f01a65d727407f803b69f93ad597fda454e87;p=clang Improve diagnostic wording... git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46138 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Basic/DiagnosticKinds.def b/include/clang/Basic/DiagnosticKinds.def index 519af246ef..81cffac0c7 100644 --- a/include/clang/Basic/DiagnosticKinds.def +++ b/include/clang/Basic/DiagnosticKinds.def @@ -753,7 +753,7 @@ DIAG(err_typecheck_sclass_func, ERROR, DIAG(err_typecheck_address_of_register, ERROR, "address of register variable requested") DIAG(err_typecheck_invalid_lvalue_addrof, ERROR, - "invalid lvalue in address expression") + "address expression must be an lvalue or a function designator") DIAG(err_typecheck_unary_expr, ERROR, "invalid argument type to unary expression '%0'") DIAG(err_typecheck_indirection_requires_pointer, ERROR,