Correctly type-check the default arguments of local functions
authorJohn McCall <rjmccall@apple.com>
Fri, 11 Dec 2015 01:56:36 +0000 (01:56 +0000)
committerJohn McCall <rjmccall@apple.com>
Fri, 11 Dec 2015 01:56:36 +0000 (01:56 +0000)
commitdc40b618cf397df7369406b3f61e91ccb57fb9f6
treed544471453fefba0d5d5dfd314fcc8fc64a19acc
parent38f2bfbbe49dc66cf33a542d3d00b115203e29eb
Correctly type-check the default arguments of local functions
when eagerly instantiating them.

rdar://23721638

llvm-svn: 255325
clang/lib/Sema/SemaTemplateInstantiate.cpp
clang/test/SemaTemplate/instantiate-local-class.cpp