]> granicus.if.org Git - clang/commitdiff
Improve diagnostic wording...
authorSteve Naroff <snaroff@apple.com>
Thu, 17 Jan 2008 19:24:05 +0000 (19:24 +0000)
committerSteve Naroff <snaroff@apple.com>
Thu, 17 Jan 2008 19:24:05 +0000 (19:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46138 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/DiagnosticKinds.def

index 519af246ef59382e27d0062783cb96c94257d711..81cffac0c7cd5f3e4f14eaaee3068158ecc97668 100644 (file)
@@ -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,