[PATCH] D18868: [Sema] PR27155: Fix a template argument deduction bug with base classes
Erik Pilkington via cfe-commits
cfe-commits at lists.llvm.org
Sat Apr 9 18:21:12 PDT 2016
erik.pilkington updated this revision to Diff 53164.
erik.pilkington marked an inline comment as done.
erik.pilkington added a comment.
Avoid another copy when Arg is not a record type.
Richard: I don't think it's possible to avoid copying Deduced when Arg is not a complete type, because we only try to complete it when we know that the deduction would otherwise fail (therefore clobbering Deduced).
If this looks good, would you mind committing it? Thanks for reviewing!
http://reviews.llvm.org/D18868
Files:
lib/Sema/SemaTemplateDeduction.cpp
test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/p3.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18868.53164.patch
Type: text/x-patch
Size: 8355 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160410/785ca0c2/attachment.bin>
More information about the cfe-commits
mailing list