Updated to make use of the AST matcher instead of a custom matcher; NFC.

llvm-svn: 246325
This commit is contained in:
Aaron Ballman 2015-08-28 19:40:30 +00:00
parent 6e14652550
commit ed5e4ef853
1 changed files with 0 additions and 4 deletions

View File

@ -17,10 +17,6 @@ using namespace clang::ast_matchers;
namespace clang {
namespace tidy {
// FIXME: Move this to ASTMatchers.h.
const ast_matchers::internal::VariadicDynCastAllOfMatcher<
Decl, NamespaceAliasDecl> namespaceAliasDecl;
void UnusedAliasDeclsCheck::registerMatchers(MatchFinder *Finder) {
// Only register the matchers for C++11; the functionality currently does not
// provide any benefit to other languages, despite being benign.