summaryrefslogtreecommitdiff
path: root/test/Rewriter
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2014-07-11 20:53:51 +0000
committerAlp Toker <alp@nuanti.com>2014-07-11 20:53:51 +0000
commitaed9b338702803eacd80443946be4de2d2c3c307 (patch)
tree34dcd30bf20901d7a510284aa7b884b219ddc3e0 /test/Rewriter
parent4ad198745739c150e22f16865b5b79ffa687f2c9 (diff)
downloadclang-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.m2
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");