diff options
-rw-r--r-- | include/clang/Tooling/ASTMatchers.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/clang/Tooling/ASTMatchers.h b/include/clang/Tooling/ASTMatchers.h index 08b687dfe9..abf88b1a03 100644 --- a/include/clang/Tooling/ASTMatchers.h +++ b/include/clang/Tooling/ASTMatchers.h @@ -1597,10 +1597,10 @@ AST_MATCHER_P(clang::ConditionalOperator, HasTrueExpression, /// Example matches b /// condition ? a : b AST_MATCHER_P(clang::ConditionalOperator, HasFalseExpression, - Matcher<clang::Expr>, Matcher) { + Matcher<clang::Expr>, InnerMatcher) { clang::Expr *Expression = Node.getFalseExpr(); return (Expression != NULL && - Matcher.Matches(*Expression, Finder, Builder)); + InnerMatcher.Matches(*Expression, Finder, Builder)); } /// Matches if a declaration has a body attached. |