summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaObjC/warn-write-strings.m
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-04-09 17:53:29 +0000
committerDouglas Gregor <dgregor@apple.com>2010-04-09 17:53:29 +0000
commitb10646d4ce23bbed949861b3fcb71f1ff1b91c76 (patch)
tree0205c29f30f9661c355ced54f6b027cf822ec903 /clang/test/SemaObjC/warn-write-strings.m
parentfb8b27d5303819ac6df89c1df07266151d9683bc (diff)
downloadbcm5719-llvm-b10646d4ce23bbed949861b3fcb71f1ff1b91c76.tar.gz
bcm5719-llvm-b10646d4ce23bbed949861b3fcb71f1ff1b91c76.zip
Improve diagnostics like "initializing <type> from an expression of
type..." with "initializing <type> with an expression of type...", which reads better. Thanks to John for the improved wording. llvm-svn: 100873
Diffstat (limited to 'clang/test/SemaObjC/warn-write-strings.m')
-rw-r--r--clang/test/SemaObjC/warn-write-strings.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/SemaObjC/warn-write-strings.m b/clang/test/SemaObjC/warn-write-strings.m
index c0b77411250..04af00ca2d8 100644
--- a/clang/test/SemaObjC/warn-write-strings.m
+++ b/clang/test/SemaObjC/warn-write-strings.m
@@ -1,4 +1,4 @@
// RUN: %clang_cc1 -verify -fsyntax-only -Wwrite-strings %s
// PR4804
-char* x = "foo"; // expected-warning {{initializing 'char *' from an expression of type 'char const [4]' discards qualifiers}}
+char* x = "foo"; // expected-warning {{initializing 'char *' with an expression of type 'char const [4]' discards qualifiers}}
OpenPOWER on IntegriCloud