Remove ignoringImplicit from clang-tidy.

llvm-svn: 273660
This commit is contained in:
Cong Liu 2016-06-24 09:39:28 +00:00
parent 8a02efb143
commit 998fb5c28b
2 changed files with 1 additions and 6 deletions

View File

@ -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)));

View File

@ -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();
}