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)
commitdee011b7f4ce2bc50d8c182f357a73f4f84b8ac1
tree68a24561bedf657d18714517f083b0b4bb9c5f25
parent5877fb7cd7457ece5bb7fd2ac5857b1193e196fc
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

llvm-svn: 369380
clang/include/clang/ASTMatchers/ASTMatchers.h
clang/unittests/Tooling/RefactoringCallbacksTest.cpp