]> granicus.if.org Git - clang/commit
Template instantiation for CXXExprWithTemporaries, which occurs when
authorDouglas Gregor <dgregor@apple.com>
Wed, 20 May 2009 21:51:01 +0000 (21:51 +0000)
committerDouglas Gregor <dgregor@apple.com>
Wed, 20 May 2009 21:51:01 +0000 (21:51 +0000)
commite06274d5c5c6b2decc9f217a8913b28f846bfcfa
treeb9ea93c1d91cceafb52d540d5475c3715f791394
parentd94546a0a1deef7286c13e49b9584621ae81cc9a
Template instantiation for CXXExprWithTemporaries, which occurs when
temporaries are generated for some object-constructing expressions in
templates that are not type-dependent.

Also, be sure to introduce the variable from a CXXConditionDeclExpr
into the set of instantiated local variables.

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