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 | b10646d4ce23bbed949861b3fcb71f1ff1b91c76 (patch) | |
| tree | 0205c29f30f9661c355ced54f6b027cf822ec903 /clang/test/FixIt | |
| parent | fb8b27d5303819ac6df89c1df07266151d9683bc (diff) | |
| download | bcm5719-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/FixIt')
| -rw-r--r-- | clang/test/FixIt/fixit-objc.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/FixIt/fixit-objc.m b/clang/test/FixIt/fixit-objc.m index 072d50a69b7..6aa1b33ea17 100644 --- a/clang/test/FixIt/fixit-objc.m +++ b/clang/test/FixIt/fixit-objc.m @@ -27,7 +27,7 @@ void h(id a); void f(Test *t) { NSString *a = "Foo"; id b = "Foo"; - A* c = "Foo"; // expected-warning {{incompatible pointer types initializing 'A *' from an expression of type 'char [4]'}} + A* c = "Foo"; // expected-warning {{incompatible pointer types initializing 'A *' with an expression of type 'char [4]'}} g("Foo"); h("Foo"); h(("Foo")); |

