[cfe-commits] [PATCH] GRExprEngine operator method first argument as lvalue

Marcin Świderski marcin.sfider at gmail.com
Tue Nov 16 22:22:52 PST 2010


W dniu 17 listopada 2010 04:33 użytkownik Zhongxing Xu <
xuzhongxing at gmail.com> napisał:

> I guess we shouldn't handle CXXOperatorCallExpr in VisitCall(). It should
> has it own code path, like CXXMemberCallExpr.
>
> 2010/11/17 Marcin Świderski <marcin.sfider at gmail.com>
>
>> Patch: For an operator call that really is a method call treat the first
>> argument as a lvalue.
>>
>> Please approve for commit.
>>
>> - Marcin
>>
>
> Yes, I forgot to mention that it's for CXXOperatorCallExpr, will add this
in comment. It probably should have its own code path, but the new
FstArgAsLValue argument of EvalArguments will be usable for it, so this
change can be treated as the first step in proper handling of
CXXOperatorCallExpr.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20101117/738ba51d/attachment.html>


More information about the cfe-commits mailing list