]> granicus.if.org Git - clang/commit
When determining whether we need to instantiate a function type,
authorDouglas Gregor <dgregor@apple.com>
Mon, 9 May 2011 20:45:16 +0000 (20:45 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 9 May 2011 20:45:16 +0000 (20:45 +0000)
commitc056c1792eac0717640f1f48b3739cc9a98ee413
treec93eaa3e95c9c5ff2ea1e336e078a908200e45b1
parent023df37c27ee8035664fb62f206ca58f4e2a169d
When determining whether we need to instantiate a function type,
also consider whether any of the parameter types (as written, prior to
decay) are dependent. Fixes PR9880 and <rdar://problem/9408413>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@131099 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaTemplateInstantiate.cpp
test/SemaTemplate/instantiate-function-1.cpp