diff --git a/clang/include/clang/ASTMatchers/ASTMatchers.h b/clang/include/clang/ASTMatchers/ASTMatchers.h index d41aa1b6e8bf..b439717d2ab3 100644 --- a/clang/include/clang/ASTMatchers/ASTMatchers.h +++ b/clang/include/clang/ASTMatchers/ASTMatchers.h @@ -142,7 +142,7 @@ inline internal::PolymorphicMatcherWithParam0 anything() /// friend X; /// }; /// \endcode -const internal::VariadicDynCastAllOfMatcher decl; +const internal::VariadicAllOfMatcher decl; /// \brief Matches a declaration of anything that could have a name. /// @@ -453,7 +453,7 @@ const internal::VariadicDynCastAllOfMatcher< /// \endcode /// stmt() /// matches both the compound statement '{ ++a; }' and '++a'. -const internal::VariadicDynCastAllOfMatcher stmt; +const internal::VariadicAllOfMatcher stmt; /// \brief Matches declaration statements. /// @@ -1100,10 +1100,10 @@ const internal::VariadicDynCastAllOfMatcher< const internal::VariadicAllOfMatcher qualType; /// \brief Matches \c Types in the clang AST. -const internal::VariadicDynCastAllOfMatcher type; +const internal::VariadicAllOfMatcher type; /// \brief Matches \c TypeLocs in the clang AST. -const internal::VariadicDynCastAllOfMatcher typeLoc; +const internal::VariadicAllOfMatcher typeLoc; /// \brief Matches if any of the given matchers matches. ///