summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/operator-arrow-depth.cpp
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2013-12-14 01:07:05 +0000
committerAlp Toker <alp@nuanti.com>2013-12-14 01:07:05 +0000
commit6ed7251683571ce079f34610da986254821f43e1 (patch)
treeac743d7a63f476a47ce260ef1526f2a53881d7e4 /clang/test/SemaCXX/operator-arrow-depth.cpp
parent8a0dde75f1123537b0e9e2706c4902841a9712cd (diff)
downloadbcm5719-llvm-6ed7251683571ce079f34610da986254821f43e1.tar.gz
bcm5719-llvm-6ed7251683571ce079f34610da986254821f43e1.zip
Revert "Don't require -re suffix on -verify directives with regexes."
This patch was submitted to the list for review and didn't receive a LGTM. (In fact one explicit objection and one query were raised.) This reverts commit r197295. llvm-svn: 197299
Diffstat (limited to 'clang/test/SemaCXX/operator-arrow-depth.cpp')
-rw-r--r--clang/test/SemaCXX/operator-arrow-depth.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/SemaCXX/operator-arrow-depth.cpp b/clang/test/SemaCXX/operator-arrow-depth.cpp
index edb90437f55..769dae0d246 100644
--- a/clang/test/SemaCXX/operator-arrow-depth.cpp
+++ b/clang/test/SemaCXX/operator-arrow-depth.cpp
@@ -9,7 +9,7 @@ template<int N> struct A {
template<int N> struct B {
A<N-1> operator->(); // expected-note +{{'operator->' declared here produces an object of type 'A<}}
#if MAX != 2
- // expected-note@-2 {{(skipping {{120|2}} 'operator->'s in backtrace)}}
+ // expected-note-re@-2 {{(skipping {{120|2}} 'operator->'s in backtrace)}}
#endif
};
@@ -22,5 +22,5 @@ A<MAX/2> good;
int n = good->n;
B<MAX/2 + 1> bad;
-int m = bad->n; // expected-error {{use of 'operator->' on type 'B<{{2|10|128}} / 2 + 1>' would invoke a sequence of more than {{2|10|128}} 'operator->' calls}}
+int m = bad->n; // expected-error-re {{use of 'operator->' on type 'B<{{2|10|128}} / 2 + 1>' would invoke a sequence of more than {{2|10|128}} 'operator->' calls}}
// expected-note@-1 {{use -foperator-arrow-depth=N to increase 'operator->' limit}}
OpenPOWER on IntegriCloud