[PATCH] D45755: [Sema] Do not match function type with const T in template argument deduction

2018-05-02 Thread Lei Liu via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL331424: [Sema] Do not match function type with const T in template argument deduction (authored by lliu0, committed by ). Herald added a subscriber: llvm-commits. Changed prior to commit: https://review

[PATCH] D45755: [Sema] Do not match function type with const T in template argument deduction

2018-04-17 Thread Lei Liu via Phabricator via cfe-commits
lliu0 created this revision. lliu0 added reviewers: rjmccall, vsapsai. Herald added a subscriber: cfe-commits. >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 an