[clang-tools-extra] r273660 - Remove ignoringImplicit from clang-tidy.
Cong Liu via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 24 02:39:28 PDT 2016
Author: congliu
Date: Fri Jun 24 04:39:28 2016
New Revision: 273660
URL: http://llvm.org/viewvc/llvm-project?rev=273660&view=rev
Log:
Remove ignoringImplicit from clang-tidy.
Modified:
clang-tools-extra/trunk/clang-tidy/modernize/LoopConvertCheck.cpp
clang-tools-extra/trunk/clang-tidy/utils/Matchers.h
Modified: clang-tools-extra/trunk/clang-tidy/modernize/LoopConvertCheck.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/modernize/LoopConvertCheck.cpp?rev=273660&r1=273659&r2=273660&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-tidy/modernize/LoopConvertCheck.cpp (original)
+++ clang-tools-extra/trunk/clang-tidy/modernize/LoopConvertCheck.cpp Fri Jun 24 04:39:28 2016
@@ -142,7 +142,7 @@ StatementMatcher makeIteratorLoopMatcher
StatementMatcher IteratorComparisonMatcher = expr(
ignoringParenImpCasts(declRefExpr(to(varDecl().bind(ConditionVarName)))));
- auto OverloadedNEQMatcher = matchers::ignoringImplicit(
+ auto OverloadedNEQMatcher = ignoringImplicit(
cxxOperatorCallExpr(hasOverloadedOperatorName("!="), argumentCountIs(2),
hasArgument(0, IteratorComparisonMatcher),
hasArgument(1, IteratorBoundMatcher)));
Modified: clang-tools-extra/trunk/clang-tidy/utils/Matchers.h
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/utils/Matchers.h?rev=273660&r1=273659&r2=273660&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-tidy/utils/Matchers.h (original)
+++ clang-tools-extra/trunk/clang-tidy/utils/Matchers.h Fri Jun 24 04:39:28 2016
@@ -17,11 +17,6 @@ namespace clang {
namespace tidy {
namespace matchers {
-AST_MATCHER_P(Expr, ignoringImplicit,
- ast_matchers::internal::Matcher<Expr>, InnerMatcher) {
- return InnerMatcher.matches(*Node.IgnoreImplicit(), Finder, Builder);
-}
-
AST_MATCHER(BinaryOperator, isRelationalOperator) {
return Node.isRelationalOp();
}
More information about the cfe-commits
mailing list