forked from OSchip/llvm-project
Updated to make use of the AST matcher instead of a custom matcher; NFC.
llvm-svn: 246325
This commit is contained in:
parent
6e14652550
commit
ed5e4ef853
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue