[PATCH] D72414: Add new AST matchers `hasAnyCapture` and `capturesThis`

Reid via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 9 14:09:56 PST 2020


rhiro updated this revision to Diff 237195.
rhiro added a comment.

- Change the hasCaptureThis functionality to be an override of hasAnyCapture with cxxThisExpr argument. Also generate the documentation and update tests.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D72414/new/

https://reviews.llvm.org/D72414

Files:
  clang/docs/LibASTMatchersReference.html
  clang/include/clang/ASTMatchers/ASTMatchers.h
  clang/lib/ASTMatchers/Dynamic/Registry.cpp
  clang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72414.237195.patch
Type: text/x-patch
Size: 8344 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200109/0b643141/attachment-0001.bin>


More information about the cfe-commits mailing list