>
> -  // Get the lvalue of an expression.
> -  // FIXME: Remove this method, and implement specialized versions for
> -  //  specific Decls.
> -  virtual RVal getLValue(const GRState* St, const Expr* Ex) = 0;
> +  virtual RVal getLValueVar(const GRState* St, const VarDecl* VD) = 0;
>
> -  virtual RVal getLValue(const GRState* St, const ObjCIvarDecl* D, RVal
> Base)=0;
> +  virtual RVal getLValueIvar(const GRState* St, const ObjCIvarDecl* D,
> +                             RVal Base)=0;
> +
> +  virtual RVal getLValueField(const GRState* St, const FieldDecl* D,
> +                              RVal Base) = 0;
> +
> +  virtual RVal getLValueElement(const GRState* St, RVal Base, RVal Offset)
> = 0;
>

If we split getLValue() into these separate cases, is parameter GRState* St
still needed, as we have already passed in all we need to build the lvalue?
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to