aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Lorenz <arphaman@gmail.com>2017-06-20 16:12:26 +0000
committerAlex Lorenz <arphaman@gmail.com>2017-06-20 16:12:26 +0000
commitf6fb345a2e8a5a5980f458d7acde01342208253c (patch)
tree39a42307726763587f1c4cb504cb66ed1652450b
parent0656629b870ae9933e350c5f4edc733012e7ece0 (diff)
downloadllvm-f6fb345a2e8a5a5980f458d7acde01342208253c.zip
llvm-f6fb345a2e8a5a5980f458d7acde01342208253c.tar.gz
llvm-f6fb345a2e8a5a5980f458d7acde01342208253c.tar.bz2
Split the expectations in tests from r305719 over multiple lines to
enhance readability As suggested by Duncan Exon Smith! llvm-svn: 305803
-rw-r--r--clang/test/Parser/objc-at-implementation-eof-crash.m5
-rw-r--r--clang/test/Parser/objc-at-interface-eof-crash.m4
2 files changed, 7 insertions, 2 deletions
diff --git a/clang/test/Parser/objc-at-implementation-eof-crash.m b/clang/test/Parser/objc-at-implementation-eof-crash.m
index 01469ec..0dcece8 100644
--- a/clang/test/Parser/objc-at-implementation-eof-crash.m
+++ b/clang/test/Parser/objc-at-implementation-eof-crash.m
@@ -16,6 +16,9 @@
mgr fileExistsAtPath:0
} // expected-error {{expected ']'}}
-@implementation ClassC // expected-error {{missing '@end'}} // expected-error {{expected '}'}} // expected-warning {{cannot find interface declaration for 'ClassC'}}
+@implementation ClassC // \
+ // expected-error {{missing '@end'}} \
+ // expected-error {{expected '}'}} \
+ // expected-warning {{cannot find interface declaration for 'ClassC'}}
@end
diff --git a/clang/test/Parser/objc-at-interface-eof-crash.m b/clang/test/Parser/objc-at-interface-eof-crash.m
index 7776838..485e810 100644
--- a/clang/test/Parser/objc-at-interface-eof-crash.m
+++ b/clang/test/Parser/objc-at-interface-eof-crash.m
@@ -16,6 +16,8 @@
mgr fileExistsAtPath:0
} // expected-error {{expected ']'}}
-@interface ClassC // expected-error {{missing '@end'}} // expected-error {{expected '}'}}
+@interface ClassC // \
+ // expected-error {{missing '@end'}} \
+ // expected-error {{expected '}'}}
@end