aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2011-04-12 22:02:02 +0000
committerJohn McCall <rjmccall@apple.com>2011-04-12 22:02:02 +0000
commit6591271275f7a3db357f3cb7af37ef86e800e4ba (patch)
tree50732610e13030b42681eb38f260dadf701299ad /lib/CodeGen/CodeGenModule.cpp
parentf077c0d4bb1598f9201cdc38592634ca8922da6c (diff)
We can't emit an aggregate cast as its sub-expression in general just
because the result is ignored. The particular example here is with property l-values, but there could be all sorts of lovely casts that this isn't safe for. Sink the check into the one case that seems to actually be capable of honoring this. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129397 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions