]> granicus.if.org Git - clang/commit
Handle instantiation of templates with non-type arguments expressed with an
authorChandler Carruth <chandlerc@gmail.com>
Sun, 31 Jan 2010 07:09:11 +0000 (07:09 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sun, 31 Jan 2010 07:09:11 +0000 (07:09 +0000)
commit548028b3ca15926c6883357e111b47bbc56a4761
tree5e13564460dbba91c3ea208caf561a13534eea77
parent905a100f3d03039f6f3e3aecf2996a05cef4a267
Handle instantiation of templates with non-type arguments expressed with an
explicit '&' by introducing an address-of operator prior to checking the
argument's type.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94947 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaTemplateInstantiate.cpp
test/CXX/temp/temp.arg/temp.arg.nontype/p1.cpp [new file with mode: 0644]