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

Hugues de Lassus hugues.de-lassus at imag.fr
Mon Mar 31 10:37:40 PDT 2014


On 03/28/2014 11:18 AM, Hugues de Lassus wrote:
> It does traverse UO_(Post|Pre)(Inc|Dec) nodes but never does it 
> traverse UO_AddrOf nor UO_Deref nodes.

Actually I was wrong, UnaryOperator nodes whose OpCode is UO_AddrOf seem 
to be always traversed and this was my mistake.
On the other hand, UOp nodes whose OpCode is *UO_**Deref* kind are never 
traversed by *TraverseStmt* in my tests.
So would this be a *bug* ?

-- 

Hugues de Lassus Saint-Geniès

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140331/a33ae45f/attachment.html>


More information about the cfe-dev mailing list