]> granicus.if.org Git - clang/commit
Removed the 'id' AST matcher, which is superseded by '.bind()'
authorDmitri Gribenko <gribozavr@gmail.com>
Tue, 20 Aug 2019 13:02:28 +0000 (13:02 +0000)
committerDmitri Gribenko <gribozavr@gmail.com>
Tue, 20 Aug 2019 13:02:28 +0000 (13:02 +0000)
commitef465ebc4b647a229ee9ee282d3d18f1d82e4aea
tree423ce83bc0af0aaad4c128bbf8c87e579842f845
parentfe16449410bda98b22f833347364a654f3a16c5c
Removed the 'id' AST matcher, which is superseded by '.bind()'

Summary:
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.

Subscribers: cfe-commits

Tags: #clang

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@369380 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/ASTMatchers/ASTMatchers.h
unittests/Tooling/RefactoringCallbacksTest.cpp