[cfe-dev] Better way obtaining dereference?

Zong zong_y365 at 163.com
Thu Feb 9 19:01:51 PST 2012


Dear All,


I would like to know is that a better way in Clang to obtain the number of UnaryOperator in UnaryOperatorClass Stmt (i.e., for ***a, return 3)?


Currently, I write a recursive function to strip the the UnaryOperator, until it reaches DeclRefExpr . Thanks.


Best, 
Zong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120210/a807503b/attachment.html>


More information about the cfe-dev mailing list