clang-tools 22.0.0git
InefficientVectorOperationCheck.cpp File Reference
#include "InefficientVectorOperationCheck.h"
#include "../utils/DeclRefExprUtils.h"
#include "../utils/OptionsUtils.h"
#include "clang/AST/ASTContext.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/Lex/Lexer.h"

Go to the source code of this file.

Namespaces

namespace  clang
 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
namespace  clang::tidy
namespace  clang::tidy::performance

Functions

static ast_matchers::internal::Matcher< Expr > clang::tidy::performance::supportedContainerTypesMatcher ()

Variables

static const char clang::tidy::performance::LoopCounterName [] = "for_loop_counter"
static const char clang::tidy::performance::LoopParentName [] = "loop_parent"
static const char clang::tidy::performance::VectorVarDeclName [] = "vector_var_decl"
static const char clang::tidy::performance::VectorVarDeclStmtName [] = "vector_var_decl_stmt"
static const char clang::tidy::performance::PushBackOrEmplaceBackCallName [] = "append_call"
static const char clang::tidy::performance::ProtoVarDeclName [] = "proto_var_decl"
static const char clang::tidy::performance::ProtoVarDeclStmtName [] = "proto_var_decl_stmt"
static const char clang::tidy::performance::ProtoAddFieldCallName [] = "proto_add_field"
static const char clang::tidy::performance::LoopInitVarName [] = "loop_init_var"
static const char clang::tidy::performance::LoopEndExprName [] = "loop_end_expr"
static const char clang::tidy::performance::RangeLoopName [] = "for_range_loop"