diff options
Diffstat (limited to 'clang-tools-extra/cpp11-migrate/UseAuto/UseAutoMatchers.h')
-rw-r--r-- | clang-tools-extra/cpp11-migrate/UseAuto/UseAutoMatchers.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/clang-tools-extra/cpp11-migrate/UseAuto/UseAutoMatchers.h b/clang-tools-extra/cpp11-migrate/UseAuto/UseAutoMatchers.h index 1f09ad407cd..d02a6a71f9d 100644 --- a/clang-tools-extra/cpp11-migrate/UseAuto/UseAutoMatchers.h +++ b/clang-tools-extra/cpp11-migrate/UseAuto/UseAutoMatchers.h @@ -17,14 +17,14 @@ #include "clang/ASTMatchers/ASTMatchers.h" -extern const char *IteratorDeclId; +extern const char *IteratorDeclStmtId; extern const char *DeclWithNewId; extern const char *NewExprId; -/// \brief Create a matcher that matches variable declarations where the type -/// is an iterator for an std container and has an explicit initializer of the -/// same type. -clang::ast_matchers::DeclarationMatcher makeIteratorDeclMatcher(); +/// \brief Create a matcher that matches declaration staments that have +/// variable declarations where the type is an iterator for an std container +/// and has an explicit initializer of the same type. +clang::ast_matchers::StatementMatcher makeIteratorDeclMatcher(); /// \brief Create a matcher that matches variable declarations that are /// initialized by a C++ new expression. |