From 2979fe01da2c6bfc116192c865ae89da713e9f63 Mon Sep 17 00:00:00 2001 From: John McCall Date: Tue, 12 Apr 2011 00:42:48 +0000 Subject: 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 --- clang/lib/CodeGen/CGExprAgg.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'clang/lib/CodeGen/CGExprAgg.cpp') 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: -- cgit v1.2.3