]> granicus.if.org Git - clang/commit
When binding an lvalue to a reference, we always need to pop temporaries.
authorAnders Carlsson <andersca@mac.com>
Thu, 4 Feb 2010 17:32:58 +0000 (17:32 +0000)
committerAnders Carlsson <andersca@mac.com>
Thu, 4 Feb 2010 17:32:58 +0000 (17:32 +0000)
commit0dc736627614b476ec696fa216dd2a524d0bafad
treea23f270cd525a7a3b5e91367b09b28b2ab90a38e
parent8ffc80fe5413bcb9f350ae4d1c2d7617af970c8e
When binding an lvalue to a reference, we always need to pop temporaries.

With this fix, and the other fixes committed today a make check-all with a clang-built LLVM now gives:

Expected Passes    : 6933
Expected Failures  : 46
Unsupported Tests  : 40
Unexpected Failures: 27

which means that we pass 99.96% of all tests :) The resulting 27 tests are all LLVMC tests and seem to be because of differences in the clang and gcc drivers.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95313 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGExpr.cpp
test/CodeGenCXX/temporaries.cpp