[cfe-commits] r41256 - /cfe/trunk/CodeGen/CGComplexExpr.cpp
Chris Lattner
sabre at nondot.org
Tue Aug 21 15:33:44 PDT 2007
Author: lattner
Date: Tue Aug 21 17:33:41 2007
New Revision: 41256
URL: http://llvm.org/viewvc/llvm-project?rev=41256&view=rev
Log:
add some fixme's, implement complex struct members.
Modified:
cfe/trunk/CodeGen/CGComplexExpr.cpp
Modified: cfe/trunk/CodeGen/CGComplexExpr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/CodeGen/CGComplexExpr.cpp?rev=41256&r1=41255&r2=41256&view=diff
==============================================================================
--- cfe/trunk/CodeGen/CGComplexExpr.cpp (original)
+++ cfe/trunk/CodeGen/CGComplexExpr.cpp Tue Aug 21 17:33:41 2007
@@ -72,7 +72,13 @@
// l-values.
ComplexPairTy VisitDeclRefExpr(Expr *E) { return EmitLoadOfLValue(E); }
ComplexPairTy VisitArraySubscriptExpr(Expr *E) { return EmitLoadOfLValue(E); }
+ ComplexPairTy VisitMemberExpr(Expr *E) { return EmitLoadOfLValue(E); }
+ // FIXME: Call
+ // FIXME: CompoundLiteralExpr
+ // FIXME: ImplicitCastExpr
+ // FIXME: CastExpr
+
// Operators.
ComplexPairTy VisitPrePostIncDec(const UnaryOperator *E,
bool isInc, bool isPre);
@@ -99,9 +105,6 @@
return Visit(E->getSubExpr());
}
- // case Expr::ImplicitCastExprClass:
- // case Expr::CastExprClass:
- // case Expr::CallExprClass:
ComplexPairTy VisitBinMul (const BinaryOperator *E);
ComplexPairTy VisitBinAdd (const BinaryOperator *E);
// FIXME: div/rem
@@ -110,7 +113,7 @@
// No comparisons produce a complex result.
ComplexPairTy VisitBinAssign (const BinaryOperator *E);
-
+ // FIXME: Compound assignment operators.
ComplexPairTy VisitBinComma (const BinaryOperator *E);
More information about the cfe-commits
mailing list