]> granicus.if.org Git - clang/commit
Test case for the l-value base only being evaluated once.
authorJohn McCall <rjmccall@apple.com>
Sat, 4 Dec 2010 03:11:00 +0000 (03:11 +0000)
committerJohn McCall <rjmccall@apple.com>
Sat, 4 Dec 2010 03:11:00 +0000 (03:11 +0000)
commite68b9842d2d6adc2c72c81c845a2c68e58d9d3a4
tree64d7de04261b00bf4b4796366796afed3afb7e76
parent119a1c6c4029d30cae7b31a2826aa0ff70d01668
Test case for the l-value base only being evaluated once.

Also, move the l-value emission code into CGObjC.cpp and teach it, for
completeness, to store away self for a super send.

Also, inline the super cases for property gets and sets and make them
use the correct result type for implicit getter/setter calls.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120887 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGExpr.cpp
lib/CodeGen/CGObjC.cpp
lib/CodeGen/CodeGenFunction.h
test/CodeGenObjC/property.m