aaron.ballman accepted this revision.
aaron.ballman added a comment.
This revision is now accepted and ready to land.
With one small nit, LGTM, thanks!
================
Comment at: include/clang/ASTMatchers/ASTMatchersInternal.h:1596
@@ +1595,3 @@
+inline const Stmt *GetBodyMatcher<FunctionDecl>::get(const FunctionDecl &Node)
{
+ return Node.doesThisDeclarationHaveABody() ? Node.getBody() : NULL;
+}
----------------
s/NULL/nullptr
http://reviews.llvm.org/D16215
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits