From 755d8497e39071aa24acc173ff07083e3256b8f8 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 &. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129331 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/CGExprConstant.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib/CodeGen/CGExprConstant.cpp') diff --git a/lib/CodeGen/CGExprConstant.cpp b/lib/CodeGen/CGExprConstant.cpp index b04ff0aefb..3a2fb9bd9d 100644 --- a/lib/CodeGen/CGExprConstant.cpp +++ b/lib/CodeGen/CGExprConstant.cpp @@ -552,8 +552,6 @@ public: case CK_GetObjCProperty: case CK_ToVoid: case CK_Dynamic: - case CK_ResolveUnknownAnyType: - case CK_ResolveUnknownAnyTypeToReference: return 0; // These might need to be supported for constexpr. -- cgit v1.2.3-70-g09d2