]> granicus.if.org Git - clang/commitdiff
ASTMatchers.h: Appease msc17.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 27 May 2014 15:13:51 +0000 (15:13 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 27 May 2014 15:13:51 +0000 (15:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@209661 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/ASTMatchers/ASTMatchers.h

index 3d677676889dab5349e4bb555dcbfface0608e10..0bfdc14bd18ca097c37ff4faf875813931836681 100644 (file)
@@ -3505,14 +3505,14 @@ AST_MATCHER_P(NestedNameSpecifier, specifiesNamespace,
 ///
 /// \c Decl has pointer identity in the AST.
 inline internal::Matcher<Decl> equalsNode(const Decl *Node) {
-  return makeMatcher(new internal::EqualsNodeMatcher<Decl>(Node));
+  return internal::makeMatcher(new internal::EqualsNodeMatcher<Decl>(Node));
 }
 /// \brief Matches if a node equals another node.
 ///
 /// \c Stmt has pointer identity in the AST.
 ///
 inline internal::Matcher<Stmt> equalsNode(const Stmt *Node) {
-  return makeMatcher(new internal::EqualsNodeMatcher<Stmt>(Node));
+  return internal::makeMatcher(new internal::EqualsNodeMatcher<Stmt>(Node));
 }
 
 /// @}