[cfe-commits] r46138 - /cfe/trunk/include/clang/Basic/DiagnosticKinds.def

Steve Naroff snaroff at apple.com
Thu Jan 17 11:24:05 PST 2008


Author: snaroff
Date: Thu Jan 17 13:24:05 2008
New Revision: 46138

URL: http://llvm.org/viewvc/llvm-project?rev=46138&view=rev
Log:

Improve diagnostic wording...


Modified:
    cfe/trunk/include/clang/Basic/DiagnosticKinds.def

Modified: cfe/trunk/include/clang/Basic/DiagnosticKinds.def
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/DiagnosticKinds.def?rev=46138&r1=46137&r2=46138&view=diff

==============================================================================
--- cfe/trunk/include/clang/Basic/DiagnosticKinds.def (original)
+++ cfe/trunk/include/clang/Basic/DiagnosticKinds.def Thu Jan 17 13:24:05 2008
@@ -753,7 +753,7 @@
 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,





More information about the cfe-commits mailing list