summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Naroff <snaroff@apple.com>2008-01-17 19:24:05 +0000
committerSteve Naroff <snaroff@apple.com>2008-01-17 19:24:05 +0000
commite7ea2f43bf971d9a936c3c4e51c20c4aa75c4b55 (patch)
treebf399f6f11b66bcadab48523549a5e9f2b2e1ba8
parentb4b65e63191d97d2abf4cb5379883a529c29ef6a (diff)
downloadbcm5719-llvm-e7ea2f43bf971d9a936c3c4e51c20c4aa75c4b55.tar.gz
bcm5719-llvm-e7ea2f43bf971d9a936c3c4e51c20c4aa75c4b55.zip
Improve diagnostic wording...
llvm-svn: 46138
-rw-r--r--clang/include/clang/Basic/DiagnosticKinds.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/include/clang/Basic/DiagnosticKinds.def b/clang/include/clang/Basic/DiagnosticKinds.def
index 519af246ef5..81cffac0c7c 100644
--- a/clang/include/clang/Basic/DiagnosticKinds.def
+++ b/clang/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,
OpenPOWER on IntegriCloud