diff options
author | Alp Toker <alp@nuanti.com> | 2014-07-11 20:53:51 +0000 |
---|---|---|
committer | Alp Toker <alp@nuanti.com> | 2014-07-11 20:53:51 +0000 |
commit | 5d96e0a3a79534f4ab6fb91f4cfa3e01e199f26e (patch) | |
tree | 2c961bd7cc507d3848139353817fbb7477bbdff7 /clang/test/Rewriter | |
parent | 4ce9863d0bc423bb4616e6ca14337e6c900339b8 (diff) | |
download | llvm-5d96e0a3a79534f4ab6fb91f4cfa3e01e199f26e.zip llvm-5d96e0a3a79534f4ab6fb91f4cfa3e01e199f26e.tar.gz llvm-5d96e0a3a79534f4ab6fb91f4cfa3e01e199f26e.tar.bz2 |
Consolidate header inclusion diagnostics
Make argument orders match, unify diagnostic IDs and reword the message to be a
little less saccharine.
llvm-svn: 212845
Diffstat (limited to 'clang/test/Rewriter')
-rw-r--r-- | clang/test/Rewriter/finally.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Rewriter/finally.m b/clang/test/Rewriter/finally.m index f46b4b0..e60ba9e 100644 --- a/clang/test/Rewriter/finally.m +++ b/clang/test/Rewriter/finally.m @@ -3,7 +3,7 @@ int main() { @try { printf("executing try"); // expected-warning{{implicitly declaring library function 'printf' with type 'int (const char *, ...)'}} \ - // expected-note{{please include the header <stdio.h> or explicitly provide a declaration for 'printf'}} + // expected-note{{include the header <stdio.h> or explicitly provide a declaration for 'printf'}} return(0); // expected-warning{{rewriter doesn't support user-specified control flow semantics for @try/@finally (code may not execute properly)}} } @finally { printf("executing finally"); |