]> granicus.if.org Git - clang/commit
If a function call returns a reference, don't bind it to a temporary.
authorAnders Carlsson <andersca@mac.com>
Mon, 14 Sep 2009 01:30:44 +0000 (01:30 +0000)
committerAnders Carlsson <andersca@mac.com>
Mon, 14 Sep 2009 01:30:44 +0000 (01:30 +0000)
commit283e4d59b8fe63e93f20b6ffb3a623a4f60a85ea
tree0a62837310f7b09b7f6dc58346f79129d8b08fef
parentb9ea0b53d323cdca2b8284ff986a878e195cb97f
If a function call returns a reference, don't bind it to a temporary.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81743 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGCXXTemp.cpp
lib/Sema/SemaExprCXX.cpp
test/CodeGenCXX/temp-1.cpp