]> granicus.if.org Git - clang/commit
If the initializer is an rvalue and the variable is a const reference,
authorZhongxing Xu <xuzhongxing@gmail.com>
Sun, 19 Dec 2010 02:26:37 +0000 (02:26 +0000)
committerZhongxing Xu <xuzhongxing@gmail.com>
Sun, 19 Dec 2010 02:26:37 +0000 (02:26 +0000)
commitf45fbad13ee1f143a2cb6e806fefe22b48f68940
tree01375f1a0f1448551d475afa7bf6f0e7b643db7a
parent9c2bac02c1d1204bcf2c5a025ab901d09bc7ae26
If the initializer is an rvalue and the variable is a const reference,
create a temporary object for it.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122161 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Checker/GRExprEngine.cpp
test/Analysis/reference.cpp