|
clang-tools 22.0.0git
|
#include "UseAutoCheck.h"#include "clang/AST/ASTContext.h"#include "clang/AST/TypeLoc.h"#include "clang/ASTMatchers/ASTMatchFinder.h"#include "clang/ASTMatchers/ASTMatchers.h"#include "clang/Basic/CharInfo.h"#include "clang/Tooling/FixIt.h"#include "llvm/ADT/STLExtras.h"Go to the source code of this file.
Namespaces | |
| namespace | clang |
| ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===// | |
| namespace | clang::tidy |
| namespace | clang::tidy::modernize |
Functions | |
| static size_t | clang::tidy::modernize::getTypeNameLength (bool RemoveStars, StringRef Text) |
| static Matcher< NamedDecl > | clang::tidy::modernize::hasStdIteratorName () |
| Matches named declarations that have one of the standard iterator names: iterator, reverse_iterator, const_iterator, const_reverse_iterator. | |
| static Matcher< NamedDecl > | clang::tidy::modernize::hasStdContainerName () |
| Matches named declarations that have one of the standard container names. | |
| static DeclarationMatcher | clang::tidy::modernize::standardIterator () |
| Returns a DeclarationMatcher that matches standard iterators nested inside records with a standard container name. | |
| static TypeMatcher | clang::tidy::modernize::typedefIterator () |
| Returns a TypeMatcher that matches typedefs for standard iterators inside records with a standard container name. | |
| static TypeMatcher | clang::tidy::modernize::nestedIterator () |
| Returns a TypeMatcher that matches records named for standard iterators nested inside records named for standard containers. | |
| static TypeMatcher | clang::tidy::modernize::iteratorFromUsingDeclaration () |
| Returns a TypeMatcher that matches types declared with using declarations and which name standard iterators for standard containers. | |
| static StatementMatcher | clang::tidy::modernize::makeIteratorDeclMatcher () |
| This matcher returns declaration statements that contain variable declarations with written non-list initializer for standard iterators. | |
| static StatementMatcher | clang::tidy::modernize::makeDeclWithNewMatcher () |
| static StatementMatcher | clang::tidy::modernize::makeDeclWithCastMatcher () |
| static StatementMatcher | clang::tidy::modernize::makeDeclWithTemplateCastMatcher () |
| static StatementMatcher | clang::tidy::modernize::makeCombinedMatcher () |
| static void | clang::tidy::modernize::ignoreTypeLocClasses (TypeLoc &Loc, const std::initializer_list< TypeLoc::TypeLocClass > &LocClasses) |
| static bool | clang::tidy::modernize::isMultiLevelPointerToTypeLocClasses (TypeLoc Loc, const std::initializer_list< TypeLoc::TypeLocClass > &LocClasses) |
Variables | |
| static const char | clang::tidy::modernize::IteratorDeclStmtId [] = "iterator_decl" |
| static const char | clang::tidy::modernize::DeclWithNewId [] = "decl_new" |
| static const char | clang::tidy::modernize::DeclWithCastId [] = "decl_cast" |
| static const char | clang::tidy::modernize::DeclWithTemplateCastId [] = "decl_template" |