diff options
author | Larisse Voufo <lvoufo@google.com> | 2013-07-19 23:00:19 +0000 |
---|---|---|
committer | Larisse Voufo <lvoufo@google.com> | 2013-07-19 23:00:19 +0000 |
commit | 98b20f1278e097f9f56b0c3bdb6740e230a47832 (patch) | |
tree | 6d127a92bd1758f9fe11e4a9f0579221acd1519c /clang/test/SemaTemplate/function-template-specialization.cpp | |
parent | 47c0845e0b388966ae8b9245057b3b2ba89bd589 (diff) | |
download | bcm5719-llvm-98b20f1278e097f9f56b0c3bdb6740e230a47832.tar.gz bcm5719-llvm-98b20f1278e097f9f56b0c3bdb6740e230a47832.zip |
FIXME fix: improving diagnostics for template arguments deduction of class templates and explicit specializations
This patch essentially removes all the FIXMEs following calls to DeduceTemplateArguments() that want to keep track of deduction failure info.
llvm-svn: 186730
Diffstat (limited to 'clang/test/SemaTemplate/function-template-specialization.cpp')
-rw-r--r-- | clang/test/SemaTemplate/function-template-specialization.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/test/SemaTemplate/function-template-specialization.cpp b/clang/test/SemaTemplate/function-template-specialization.cpp index 2338b6701c4..6327ff64c33 100644 --- a/clang/test/SemaTemplate/function-template-specialization.cpp +++ b/clang/test/SemaTemplate/function-template-specialization.cpp @@ -1,6 +1,7 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s -template<int N> void f0(int (&array)[N]); +template <int N> +void f0(int (&array)[N]); // expected-note {{candidate template ignored: could not match 'int' against 'char'}} // Simple function template specialization (using overloading) template<> void f0(int (&array)[1]); |