[PATCH] D17034: Add an AST matcher for null pointers
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 16 11:59:18 PST 2016
aaron.ballman marked 2 inline comments as done.
================
Comment at: include/clang/ASTMatchers/ASTMatchers.h:4838
@@ +4837,3 @@
+ gnuNullExpr(), cxxNullPtrLiteralExpr(),
+ integerLiteral(equals(0), hasParent(expr(hasType(pointerType())))));
+}
----------------
Ah, good catch! No, that one was not required, I've removed it.
http://reviews.llvm.org/D17034
More information about the cfe-commits
mailing list