diff options
author | Lei Liu <lei.liu2@windriver.com> | 2018-05-03 01:43:23 +0000 |
---|---|---|
committer | Lei Liu <lei.liu2@windriver.com> | 2018-05-03 01:43:23 +0000 |
commit | 413f3c55955537552b556a556d678d5756a9f16b (patch) | |
tree | 92e419afe91e967fb8859cc8e9f2c56520ee6535 /clang/lib/Sema/SemaTemplateVariadic.cpp | |
parent | 87f1343a73fa56729571fb93deeb4f795d3e042b (diff) | |
download | bcm5719-llvm-413f3c55955537552b556a556d678d5756a9f16b.tar.gz bcm5719-llvm-413f3c55955537552b556a556d678d5756a9f16b.zip |
[Sema] Do not match function type with const T in template argument deduction
From http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#1584,
function type should not match cv-qualified type in template argument
deduction. This also matches what GCC and EDG do in template argument
deduction.
Differential Revision: https://reviews.llvm.org/D45755
llvm-svn: 331424
Diffstat (limited to 'clang/lib/Sema/SemaTemplateVariadic.cpp')
0 files changed, 0 insertions, 0 deletions