diff options
Diffstat (limited to 'clang-tools-extra/clang-tidy/modernize/UseAutoCheck.cpp')
-rw-r--r-- | clang-tools-extra/clang-tidy/modernize/UseAutoCheck.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/clang-tools-extra/clang-tidy/modernize/UseAutoCheck.cpp b/clang-tools-extra/clang-tidy/modernize/UseAutoCheck.cpp index e9f54f814cd..5cab62946d1 100644 --- a/clang-tools-extra/clang-tidy/modernize/UseAutoCheck.cpp +++ b/clang-tools-extra/clang-tidy/modernize/UseAutoCheck.cpp @@ -55,7 +55,7 @@ size_t GetTypeNameLength(bool RemoveStars, StringRef Text) { return NumChars; } -/// \brief Matches variable declarations that have explicit initializers that +/// Matches variable declarations that have explicit initializers that /// are not initializer lists. /// /// Given @@ -84,7 +84,7 @@ AST_MATCHER(VarDecl, hasWrittenNonListInitializer) { return Node.getInitStyle() != VarDecl::ListInit; } -/// \brief Matches QualTypes that are type sugar for QualTypes that match \c +/// Matches QualTypes that are type sugar for QualTypes that match \c /// SugarMatcher. /// /// Given @@ -109,7 +109,7 @@ AST_MATCHER_P(QualType, isSugarFor, Matcher<QualType>, SugarMatcher) { } } -/// \brief Matches named declarations that have one of the standard iterator +/// Matches named declarations that have one of the standard iterator /// names: iterator, reverse_iterator, const_iterator, const_reverse_iterator. /// /// Given @@ -131,7 +131,7 @@ AST_MATCHER(NamedDecl, hasStdIteratorName) { return false; } -/// \brief Matches named declarations that have one of the standard container +/// Matches named declarations that have one of the standard container /// names. /// /// Given @@ -207,7 +207,7 @@ AST_POLYMORPHIC_MATCHER(hasExplicitTemplateArgs, return Node.hasExplicitTemplateArgs(); } -/// \brief Returns a DeclarationMatcher that matches standard iterators nested +/// Returns a DeclarationMatcher that matches standard iterators nested /// inside records with a standard container name. DeclarationMatcher standardIterator() { return decl( @@ -215,19 +215,19 @@ DeclarationMatcher standardIterator() { hasDeclContext(recordDecl(hasStdContainerName(), isFromStdNamespace()))); } -/// \brief Returns a TypeMatcher that matches typedefs for standard iterators +/// Returns a TypeMatcher that matches typedefs for standard iterators /// inside records with a standard container name. TypeMatcher typedefIterator() { return typedefType(hasDeclaration(standardIterator())); } -/// \brief Returns a TypeMatcher that matches records named for standard +/// Returns a TypeMatcher that matches records named for standard /// iterators nested inside records named for standard containers. TypeMatcher nestedIterator() { return recordType(hasDeclaration(standardIterator())); } -/// \brief Returns a TypeMatcher that matches types declared with using +/// Returns a TypeMatcher that matches types declared with using /// declarations and which name standard iterators for standard containers. TypeMatcher iteratorFromUsingDeclaration() { auto HasIteratorDecl = hasDeclaration(namedDecl(hasStdIteratorName())); @@ -243,7 +243,7 @@ TypeMatcher iteratorFromUsingDeclaration() { anyOf(typedefType(HasIteratorDecl), recordType(HasIteratorDecl)))); } -/// \brief This matcher returns declaration statements that contain variable +/// This matcher returns declaration statements that contain variable /// declarations with written non-list initializer for standard iterators. StatementMatcher makeIteratorDeclMatcher() { return declStmt(unless(has( |