diff options
author | John McCall <rjmccall@apple.com> | 2011-04-12 22:02:02 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2011-04-12 22:02:02 +0000 |
commit | 58989b7125a04be7a05d6ad7090a16ecda496481 (patch) | |
tree | f19398c9a07f1f3c3a42b32301bed5c39a06377d /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | a4e29a64d858b7b7132c4e5552131146239e16b2 (diff) | |
download | llvm-58989b7125a04be7a05d6ad7090a16ecda496481.zip llvm-58989b7125a04be7a05d6ad7090a16ecda496481.tar.gz llvm-58989b7125a04be7a05d6ad7090a16ecda496481.tar.bz2 |
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.
llvm-svn: 129397
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions