Fix bug where template argument deduction of a non-type template parameter used
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 28 Sep 2016 22:08:38 +0000 (22:08 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 28 Sep 2016 22:08:38 +0000 (22:08 +0000)
commit38175a2e751593c24eb63679191572ed250c6d4c
tree6a62224231e4880ad3e19f79574617dcfaf594df
parentea117bf9ad162950a1fdd527f8b75d1bdf22456b
Fix bug where template argument deduction of a non-type template parameter used
as a template argument in a template-id, from a null non-type template
argument, failed.

Extracted from a patch by James Touton!

llvm-svn: 282641
clang/lib/Sema/SemaTemplateDeduction.cpp
clang/test/SemaTemplate/deduction.cpp
clang/test/SemaTemplate/temp_arg_nontype_cxx1z.cpp