Blocks can be matched just as well as functions or Objective-C methods.
Details
Details
Diff Detail
Diff Detail
Event Timeline
lib/ASTMatchers/Dynamic/Registry.cpp | ||
---|---|---|
409 | Please keep this in alphabetical order. |
Paths
| Differential D46980
[ASTMatchers] Introduce a blockDecl matcher for matching block declarations ClosedPublic Authored by george.karpenkov on May 16 2018, 3:07 PM.
Details Summary Blocks can be matched just as well as functions or Objective-C methods.
Diff Detail Event TimelineThis revision is now accepted and ready to land.May 16 2018, 3:24 PM
Closed by commit rL332545: [ASTMatchers] Introduce a blockDecl matcher for matching block declarations (authored by george.karpenkov). · Explain WhyMay 16 2018, 3:50 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 147195 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
|
Blocks aren't Objective-C-specific. Blocks are an Apple extension in normal C as well.