diff --git a/clang/lib/Sema/SemaExpr.cpp b/clang/lib/Sema/SemaExpr.cpp index 0980710b3d11..1c698da0537d 100644 --- a/clang/lib/Sema/SemaExpr.cpp +++ b/clang/lib/Sema/SemaExpr.cpp @@ -1515,8 +1515,6 @@ Sema::PerformObjectMemberConversion(Expr *&From, IgnoreAccess)) return true; - // FIXME: isLvalue should be !PointerConversions here, but codegen - // does very silly things. ImpCastExprToType(From, DestType, CastExpr::CK_UncheckedDerivedToBase, /*isLvalue=*/ !PointerConversions); return false;