[PATCH] D18495: Check default arguments of template template parameters for compatibility.

Faisal Vali via cfe-commits cfe-commits at lists.llvm.org
Sat Mar 26 17:25:18 PDT 2016


faisalv created this revision.
faisalv added a reviewer: rsmith.
faisalv added a subscriber: cfe-commits.

I'm not sure why this check wasn't being done at template definition time.  
I can't devise a test case to trigger the concerns in the deleted comments below.

Anything I might be missing by simply adding the CheckTemplateArgument check here?

Thanks!


http://reviews.llvm.org/D18495

Files:
  lib/Sema/SemaTemplate.cpp
  test/CXX/temp/temp.arg/temp.arg.template/p3-0x.cpp
  test/CXX/temp/temp.param/p10-0x.cpp
  test/CXX/temp/temp.param/p12.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18495.51725.patch
Type: text/x-patch
Size: 4503 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160327/b89dcd8d/attachment.bin>


More information about the cfe-commits mailing list