diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-04-09 17:53:29 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-04-09 17:53:29 +0000 |
commit | 08a41901e18aeb91b87d031b93df70374af02564 (patch) | |
tree | 7416b74f2ee31c6c794a7923e830ba57f5cef716 /test/Sema/warn-write-strings.c | |
parent | 47268a3f2843a8d64f3a6fef1e9a9dde1feb4a8c (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100873 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Sema/warn-write-strings.c')
-rw-r--r-- | test/Sema/warn-write-strings.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/warn-write-strings.c b/test/Sema/warn-write-strings.c index c0b7741125..04af00ca2d 100644 --- a/test/Sema/warn-write-strings.c +++ b/test/Sema/warn-write-strings.c @@ -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}} |