]> granicus.if.org Git - clang/commit
[ASTMatchers] Introduce a blockDecl matcher for matching block declarations
authorGeorge Karpenkov <ekarpenkov@apple.com>
Wed, 16 May 2018 22:47:03 +0000 (22:47 +0000)
committerGeorge Karpenkov <ekarpenkov@apple.com>
Wed, 16 May 2018 22:47:03 +0000 (22:47 +0000)
commit9a64e8cc615f59592630d53580af94f735578ef3
tree2cf2beff9a889c0fb7e2b02caa18ab6c192bec8b
parent746a45c095d8966f89305850e71d8480bb13ff5b
[ASTMatchers] Introduce a blockDecl matcher for matching block declarations

Blocks can be matched just as well as functions or Objective-C methods.

Differential Revision: https://reviews.llvm.org/D46980

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@332545 91177308-0d34-0410-b5e6-96231b3b80d8
docs/LibASTMatchersReference.html
include/clang/ASTMatchers/ASTMatchers.h
lib/ASTMatchers/ASTMatchersInternal.cpp
lib/ASTMatchers/Dynamic/Registry.cpp
unittests/ASTMatchers/ASTMatchersTest.h
unittests/ASTMatchers/ASTMatchersTraversalTest.cpp