[clang-tools-extra] r246325 - Updated to make use of the AST matcher instead of a custom matcher; NFC.
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 28 12:40:31 PDT 2015
Author: aaronballman
Date: Fri Aug 28 14:40:30 2015
New Revision: 246325
URL: http://llvm.org/viewvc/llvm-project?rev=246325&view=rev
Log:
Updated to make use of the AST matcher instead of a custom matcher; NFC.
Modified:
clang-tools-extra/trunk/clang-tidy/misc/UnusedAliasDeclsCheck.cpp
Modified: clang-tools-extra/trunk/clang-tidy/misc/UnusedAliasDeclsCheck.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/misc/UnusedAliasDeclsCheck.cpp?rev=246325&r1=246324&r2=246325&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-tidy/misc/UnusedAliasDeclsCheck.cpp (original)
+++ clang-tools-extra/trunk/clang-tidy/misc/UnusedAliasDeclsCheck.cpp Fri Aug 28 14:40:30 2015
@@ -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.
More information about the cfe-commits
mailing list