]> granicus.if.org Git - clang/commit
Add a BuildCXXTemporaryObjectExpr and use it so default arguments will be instantiate...
authorAnders Carlsson <andersca@mac.com>
Thu, 27 Aug 2009 05:08:22 +0000 (05:08 +0000)
committerAnders Carlsson <andersca@mac.com>
Thu, 27 Aug 2009 05:08:22 +0000 (05:08 +0000)
commite7624a75b74633ff9c54d1c60ace2707fe298008
tree87f042f8aca1c7cd8b17a564f02d1be106809f44
parentbb60a509f47a95a4ed9366ec1fc65850da654d38
Add a BuildCXXTemporaryObjectExpr and use it so default arguments will be instantiated correctly for temporary object expressions.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@80206 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/Sema.h
lib/Sema/SemaDeclCXX.cpp
lib/Sema/SemaExprCXX.cpp
test/SemaCXX/default-argument-temporaries.cpp [new file with mode: 0644]