[cfe-dev] RecursiveASTVisitor::TraverseStmt for UnaryOperator's

Mathieu Baudet mathieu.baudet at gmail.com
Mon Mar 31 14:49:55 PDT 2014


You are welcome.

I will let more informed people answer :)
The logs point to rdar://10941790
http://llvm.org/viewvc/llvm-project?view=revision&revision=152820
http://llvm.org/viewvc/llvm-project?view=revision&revision=152819

2014-03-31 18:56 GMT+01:00 Hugues de Lassus <hugues.de-lassus at imag.fr>:
> On 03/31/2014 06:52 PM, Mathieu Baudet wrote:
>>
>> Hi Hugues,
>>
>> I'm just guessing here, but have you tried to override
>> shouldUseDataRecursionFor() to always return false?
>>
>> -- Mathieu
>
> Well thank you Mathieu for your answer !
> I did not know about this method until you told me.
> This clearly solved the issue.
> Do you know what the "extreme cases" refer to in the method
> description:
>
> Return whether param S should be traversed using data recursion
> to avoid a stack overflow with extreme cases.
>
> Are they talking about particularly nested Stmt ?
>
>
> --
>
> Hugues de Lassus Saint-Geniès
>




More information about the cfe-dev mailing list