]> granicus.if.org Git - clang/commit
Add Sema::MaybeBindToTemporary which takes an expression and (if needed) wraps it...
authorAnders Carlsson <andersca@mac.com>
Sat, 30 May 2009 20:36:53 +0000 (20:36 +0000)
committerAnders Carlsson <andersca@mac.com>
Sat, 30 May 2009 20:36:53 +0000 (20:36 +0000)
commitdef11996fb558f58a8a7ae87aa95eb0bb96bfe4a
treeaaea67ae165daa62be178506fd7665ab31c49055
parentb859f35459ae3e1188d1e1b86df08d649695fd86
Add Sema::MaybeBindToTemporary which takes an expression and (if needed) wraps it in a CXXBindTemporaryExpr. Use this when creating CXXTemporaryObjectExprs.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72629 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/Sema.h
lib/Sema/SemaExprCXX.cpp