[cfe-commits] r163798 - /cfe/trunk/include/clang/ASTMatchers/ASTMatchersMacros.h

NAKAMURA Takumi geek4civic at gmail.com
Thu Sep 13 07:28:23 PDT 2012


Author: chapuni
Date: Thu Sep 13 09:28:23 2012
New Revision: 163798

URL: http://llvm.org/viewvc/llvm-project?rev=163798&view=rev
Log:
ASTMatchersMacros.h: Appease msvc.

Modified:
    cfe/trunk/include/clang/ASTMatchers/ASTMatchersMacros.h

Modified: cfe/trunk/include/clang/ASTMatchers/ASTMatchersMacros.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/ASTMatchers/ASTMatchersMacros.h?rev=163798&r1=163797&r2=163798&view=diff
==============================================================================
--- cfe/trunk/include/clang/ASTMatchers/ASTMatchersMacros.h (original)
+++ cfe/trunk/include/clang/ASTMatchers/ASTMatchersMacros.h Thu Sep 13 09:28:23 2012
@@ -230,13 +230,14 @@
       MatcherName, NodeType, FunctionName)                                     \
   inline internal::Matcher<NodeType> hasPrefix(                                \
       const internal::Matcher<NodeType> &InnerMatcher) {                       \
-    return makeMatcher(new internal::TraverseMatcher<NodeType>(                \
+    return internal::makeMatcher(new internal::TraverseMatcher<NodeType>(      \
       InnerMatcher, &NodeType::getPrefix));                                    \
   }                                                                            \
   inline internal::Matcher<NodeType##Loc> hasPrefix(                           \
       const internal::Matcher<NodeType##Loc> &InnerMatcher) {                  \
-    return makeMatcher(new internal::LocTraverseMatcher<NodeType##Loc>(        \
-      InnerMatcher, &NodeType##Loc::getPrefix));                               \
+    return internal::makeMatcher(                                              \
+      new internal::LocTraverseMatcher<NodeType##Loc>(                         \
+        InnerMatcher, &NodeType##Loc::getPrefix));                             \
   }
 
 #endif // LLVM_CLANG_AST_MATCHERS_AST_MATCHERS_MACROS_H





More information about the cfe-commits mailing list