Move getLocStart() in Sema::ConvertArgumentsForCall

David Blaikie dblaikie at gmail.com
Wed Mar 19 08:07:10 PDT 2014


A test case would be good, if possible

On Tue, Mar 18, 2014 at 9:44 PM, Keno Fischer
<kfischer at college.harvard.edu> wrote:
> Sema::ConvertArgumentsForCall calls setNumArgs on the CallExpr. This changes
> the result of getLocStart if the SourceLocation stored in the CallExpr is
> invalid and in that case may lead to an assertion failure. This quick patch
> fixes that.
>
> I don't have commit access so let me know if anything else is needed.
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>



More information about the cfe-commits mailing list