From c89db5acb0b2661bdbbfe9e2f5d968a8b7d45b48 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Wed, 1 Jun 2011 08:56:20 +0000 Subject: [PATCH] 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 --- include/clang/Tooling/ASTMatchers.h | 4 ++-- 1 file 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, 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. -- 2.50.1