diff options
author | Manuel Klimek <klimek@google.com> | 2013-02-11 07:45:01 +0000 |
---|---|---|
committer | Manuel Klimek <klimek@google.com> | 2013-02-11 07:45:01 +0000 |
commit | ca846ae6221787b01dc4f6592a32966094ea3d65 (patch) | |
tree | f3c5d5987a4ffd38a4bf067ba5eaf3f88829a3cf | |
parent | 9f9d79f3adfd61a625537c1eafe4256cf17615cb (diff) | |
download | bcm5719-llvm-ca846ae6221787b01dc4f6592a32966094ea3d65.tar.gz bcm5719-llvm-ca846ae6221787b01dc4f6592a32966094ea3d65.zip |
Do not use VariadicDynCastAllOfMatcher where VariadicAllOfMatcher works.
llvm-svn: 174862
-rw-r--r-- | clang/include/clang/ASTMatchers/ASTMatchers.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/include/clang/ASTMatchers/ASTMatchers.h b/clang/include/clang/ASTMatchers/ASTMatchers.h index d41aa1b6e8b..b439717d2ab 100644 --- a/clang/include/clang/ASTMatchers/ASTMatchers.h +++ b/clang/include/clang/ASTMatchers/ASTMatchers.h @@ -142,7 +142,7 @@ inline internal::PolymorphicMatcherWithParam0<internal::TrueMatcher> anything() /// friend X; /// }; /// \endcode -const internal::VariadicDynCastAllOfMatcher<Decl, Decl> decl; +const internal::VariadicAllOfMatcher<Decl> 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, Stmt> stmt; +const internal::VariadicAllOfMatcher<Stmt> stmt; /// \brief Matches declaration statements. /// @@ -1100,10 +1100,10 @@ const internal::VariadicDynCastAllOfMatcher< const internal::VariadicAllOfMatcher<QualType> qualType; /// \brief Matches \c Types in the clang AST. -const internal::VariadicDynCastAllOfMatcher<Type, Type> type; +const internal::VariadicAllOfMatcher<Type> type; /// \brief Matches \c TypeLocs in the clang AST. -const internal::VariadicDynCastAllOfMatcher<TypeLoc, TypeLoc> typeLoc; +const internal::VariadicAllOfMatcher<TypeLoc> typeLoc; /// \brief Matches if any of the given matchers matches. /// |