alexfh added a comment. It may be more effective to filter out expressions that operate on implicit variables, e.g. by adding this constraint to the binaryOperator matcher:
unless(hasLHS(ignoringImpCasts(declRefExpr(to(isImplicit()))))) (maybe also for RHS). The benefit of this would be that it doesn't use hasAncestor/hasDescendant which can be rather expensive. http://reviews.llvm.org/D14582 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits