From 5d96e0a3a79534f4ab6fb91f4cfa3e01e199f26e Mon Sep 17 00:00:00 2001 From: Alp Toker Date: Fri, 11 Jul 2014 20:53:51 +0000 Subject: Consolidate header inclusion diagnostics Make argument orders match, unify diagnostic IDs and reword the message to be a little less saccharine. llvm-svn: 212845 --- clang/test/Rewriter/finally.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/test/Rewriter') diff --git a/clang/test/Rewriter/finally.m b/clang/test/Rewriter/finally.m index f46b4b01a5f..e60ba9ec852 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 or explicitly provide a declaration for 'printf'}} + // expected-note{{include the header 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"); -- cgit v1.2.3