diff options
author | John McCall <rjmccall@apple.com> | 2011-04-12 00:42:48 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2011-04-12 00:42:48 +0000 |
commit | 2979fe01da2c6bfc116192c865ae89da713e9f63 (patch) | |
tree | dd30f95158a9fce830cb0b01973e342fa2b55b14 /clang/lib/CodeGen/CGExprAgg.cpp | |
parent | 11168326f8efe9a7af670045ca5d278b3a284121 (diff) | |
download | bcm5719-llvm-2979fe01da2c6bfc116192c865ae89da713e9f63.tar.gz bcm5719-llvm-2979fe01da2c6bfc116192c865ae89da713e9f63.zip |
After some discussion with Doug, we decided that it made a lot more sense
for __unknown_anytype resolution to destructively modify the AST. So that's
what it does now, which significantly simplifies some of the implementation.
Normal member calls work pretty cleanly now, and I added support for
propagating unknown-ness through &.
llvm-svn: 129331
Diffstat (limited to 'clang/lib/CodeGen/CGExprAgg.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGExprAgg.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/clang/lib/CodeGen/CGExprAgg.cpp b/clang/lib/CodeGen/CGExprAgg.cpp index 5d22fc33041..177d0a4be78 100644 --- a/clang/lib/CodeGen/CGExprAgg.cpp +++ b/clang/lib/CodeGen/CGExprAgg.cpp @@ -310,11 +310,6 @@ void AggExprEmitter::VisitCastExpr(CastExpr *E) { llvm_unreachable("should not be emitting lvalue bitcast as rvalue"); break; - case CK_ResolveUnknownAnyType: - case CK_ResolveUnknownAnyTypeToReference: - EmitAggLoadOfLValue(E); - break; - case CK_Dependent: case CK_BitCast: case CK_ArrayToPointerDecay: |