diff options
author | Alp Toker <alp@nuanti.com> | 2013-12-14 01:07:05 +0000 |
---|---|---|
committer | Alp Toker <alp@nuanti.com> | 2013-12-14 01:07:05 +0000 |
commit | 6ed7251683571ce079f34610da986254821f43e1 (patch) | |
tree | ac743d7a63f476a47ce260ef1526f2a53881d7e4 /clang/test/SemaCXX/member-expr.cpp | |
parent | 8a0dde75f1123537b0e9e2706c4902841a9712cd (diff) | |
download | bcm5719-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/member-expr.cpp')
-rw-r--r-- | clang/test/SemaCXX/member-expr.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/SemaCXX/member-expr.cpp b/clang/test/SemaCXX/member-expr.cpp index 847036bbd13..e0955aeb9ce 100644 --- a/clang/test/SemaCXX/member-expr.cpp +++ b/clang/test/SemaCXX/member-expr.cpp @@ -193,7 +193,7 @@ namespace PR15045 { }; template <class T> void call_func(T t) { - t->func(); // expected-error 2 {{member reference type 'PR15045::bar' is not a pointer{{$}}}} \ + t->func(); // expected-error-re 2 {{member reference type 'PR15045::bar' is not a pointer{{$}}}} \ // expected-note {{did you mean to use '.' instead?}} } @@ -207,7 +207,7 @@ namespace PR15045 { // Make sure a fixit isn't given in the case that the '->' isn't actually // the problem (the problem is with the return value of an operator->). - f->func(); // expected-error {{member reference type 'PR15045::bar' is not a pointer{{$}}}} + f->func(); // expected-error-re {{member reference type 'PR15045::bar' is not a pointer{{$}}}} call_func(e); // expected-note {{in instantiation of function template specialization 'PR15045::call_func<PR15045::bar>' requested here}} |