[PATCH] D66462: Removed the 'id' AST matcher, which is superseded by '.bind()'

Dmitri Gribenko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 20 02:47:01 PDT 2019


gribozavr created this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

The 'id' matcher is not even included in the AST Matchers Reference
document, so I don't expect there to be a significant number of users.

There's no reason to provide two ways to do the exact same thing that
only have a minor syntactic difference.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D66462

Files:
  clang/include/clang/ASTMatchers/ASTMatchers.h
  clang/unittests/Tooling/RefactoringCallbacksTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66462.216081.patch
Type: text/x-patch
Size: 6308 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190820/10f6b9ff/attachment-0001.bin>


More information about the cfe-commits mailing list