Author: d0k
Date: Wed Jun 1 03:56:20 2011
New Revision: 132391
URL: http://llvm.org/viewvc/llvm-project?rev=132391&view=rev
Log:
Change a name for consistency and hopefully unbreak builds with gcc 4.6.
Modified:
cfe/trunk/include/clang/Tooling/ASTMatchers.h
Modified: cfe/trunk/include/clang/Tooling/ASTMatchers.h
URL:
http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Tooling/ASTMatchers.h?rev=132391&r1=132390&r2=132391&view=diff
==============================================================================
--- cfe/trunk/include/clang/Tooling/ASTMatchers.h (original)
+++ cfe/trunk/include/clang/Tooling/ASTMatchers.h Wed Jun 1 03:56:20 2011
@@ -1597,10 +1597,10 @@
/// 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.
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits