[PATCH] Consolidate and unify initializer list deduction
Hubert Tong
hubert.reinterpretcast at gmail.com
Tue Jun 23 19:38:28 PDT 2015
Hi rsmith, fraggamuffin,
This patch reduces duplication in the template argument deduction code
for handling deduction from initializer lists in a function call. This
extends the fix for PR12119 to also apply to the case where the
corresponding parameter is a trailing parameter pack.
http://reviews.llvm.org/D10681
Files:
lib/Sema/SemaTemplateDeduction.cpp
test/SemaCXX/cxx0x-initializer-stdinitializerlist.cpp
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10681.28319.patch
Type: text/x-patch
Size: 5999 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150624/afa61f79/attachment.bin>
More information about the cfe-commits
mailing list