[cfe-dev] How does Clang Staic Analyzer deal with DeclRefExpr?

Jordan Rose jordan_rose at apple.com
Mon Dec 9 09:33:23 PST 2013


ParenExpr isn't even in the CFG, so it's not actually possible for the analyzer to hand it to a checker. Are you sure you're not better off with a RecursiveASTVisitor or with the AST matchers?

Jordan


On Dec 8, 2013, at 18:52 , Arthur Yoo <phjy007 at gmail.com> wrote:

> Hi Jordan,
> 
> Actually, I'm doing some software porting issue analysis. And my checker needs to capture the UnaryExprOrTypeTraitExpr, ParenExpr and MemberExpr in PostChecker(). So can you provide me the patch to provide checkers chances to catch these Exprs in PostChecker()? 
> Thank you very much!  :-)
> 
> 
> -- 
> Best regards,
> Arthur Yoo

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


More information about the cfe-dev mailing list