From: Benjamin Kramer Date: Wed, 1 Jun 2011 08:56:20 +0000 (+0000) Subject: Change a name for consistency and hopefully unbreak builds with gcc 4.6. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c89db5acb0b2661bdbbfe9e2f5d968a8b7d45b48;p=clang Change a name for consistency and hopefully unbreak builds with gcc 4.6. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@132391 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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, Matcher) { + Matcher, 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.