From: Manuel Klimek Date: Mon, 11 Feb 2013 07:45:01 +0000 (+0000) Subject: Do not use VariadicDynCastAllOfMatcher where VariadicAllOfMatcher works. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ca846ae6221787b01dc4f6592a32966094ea3d65;p=platform%2Fupstream%2Fllvm.git Do not use VariadicDynCastAllOfMatcher where VariadicAllOfMatcher works. llvm-svn: 174862 --- diff --git a/clang/include/clang/ASTMatchers/ASTMatchers.h b/clang/include/clang/ASTMatchers/ASTMatchers.h index d41aa1b..b439717 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. ///