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 | aed9b338702803eacd80443946be4de2d2c3c307 (patch) | |
tree | 34dcd30bf20901d7a510284aa7b884b219ddc3e0 /test/Rewriter | |
parent | 4ad198745739c150e22f16865b5b79ffa687f2c9 (diff) | |
download | clang-aed9b338702803eacd80443946be4de2d2c3c307.tar.gz |
Consolidate header inclusion diagnostics
Make argument orders match, unify diagnostic IDs and reword the message to be a
little less saccharine.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@212845 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Rewriter')
-rw-r--r-- | test/Rewriter/finally.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Rewriter/finally.m b/test/Rewriter/finally.m index f46b4b01a5..e60ba9ec85 100644 --- a/test/Rewriter/finally.m +++ b/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"); |