sbenza added inline comments.

================
Comment at: include/clang/ASTMatchers/ASTMatchers.h:4838
@@ +4837,3 @@
+      gnuNullExpr(), cxxNullPtrLiteralExpr(),
+      expr(integerLiteral(equals(0), 
hasParent(expr(hasType(pointerType()))))));
+}
----------------
aaron.ballman wrote:
> sbenza wrote:
> > is this expr() necessary?
> Yes, without it I get errors about not having a matching overload for 
> hasParent().
Sorry, I meant the one around integerLiteral().

http://reviews.llvm.org/D17034



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to