[cfe-commits] r132391 - /cfe/trunk/include/clang/Tooling/ASTMatchers.h

Benjamin Kramer benny.kra at googlemail.com
Wed Jun 1 01:56:20 PDT 2011


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.





More information about the cfe-commits mailing list