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/SemaTemplate/explicit-instantiation.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/SemaTemplate/explicit-instantiation.cpp')
| -rw-r--r-- | clang/test/SemaTemplate/explicit-instantiation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/SemaTemplate/explicit-instantiation.cpp b/clang/test/SemaTemplate/explicit-instantiation.cpp index ea722b4a390..c28c5d18315 100644 --- a/clang/test/SemaTemplate/explicit-instantiation.cpp +++ b/clang/test/SemaTemplate/explicit-instantiation.cpp @@ -16,7 +16,7 @@ struct X0 { } T* f0(T*, T*) { return T(); } // expected-warning{{expression which evaluates to zero treated as a null pointer constant of type 'int *'}} - template <typename U> T f0(T, U) { return T(); } // expected-note {{candidate template ignored: could not match 'int (int, U){{( __attribute__\(\(thiscall\)\))?}}' against 'int (int){{( __attribute__\(\(thiscall\)\))?}} const'}} \ + template <typename U> T f0(T, U) { return T(); } // expected-note-re {{candidate template ignored: could not match 'int (int, U){{( __attribute__\(\(thiscall\)\))?}}' against 'int (int){{( __attribute__\(\(thiscall\)\))?}} const'}} \ // expected-note {{candidate template ignored: could not match 'int' against 'int *'}} }; |

