[PATCH] D16215: ASTMatchers: enable hasBody() matcher for FunctionDecls

Aleksei Sidorin via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 19 01:31:40 PST 2016


a.sidorin updated this revision to Diff 45232.
a.sidorin added a comment.

Match only FunctionDecls which are definitions and ignore redeclarations without bodies.


http://reviews.llvm.org/D16215

Files:
  docs/LibASTMatchersReference.html
  include/clang/ASTMatchers/ASTMatchers.h
  include/clang/ASTMatchers/ASTMatchersInternal.h
  lib/ASTMatchers/ASTMatchersInternal.cpp
  unittests/ASTMatchers/ASTMatchersTest.cpp
  unittests/ASTMatchers/Dynamic/ParserTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16215.45232.patch
Type: text/x-patch
Size: 7763 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160119/8de29aaf/attachment-0001.bin>


More information about the cfe-commits mailing list