clang-tools 20.0.0git
Namespaces | Functions | Variables
utils/UseRangesCheck.cpp File Reference
#include "UseRangesCheck.h"
#include "Matchers.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/Decl.h"
#include "clang/AST/Expr.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/ASTMatchers/ASTMatchers.h"
#include "clang/ASTMatchers/ASTMatchersInternal.h"
#include "clang/Basic/Diagnostic.h"
#include "clang/Basic/LLVM.h"
#include "clang/Basic/SourceLocation.h"
#include "clang/Basic/SourceManager.h"
#include "clang/Lex/Lexer.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallBitVector.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/Twine.h"
#include "llvm/Support/raw_ostream.h"
#include <cassert>
#include <optional>
#include <string>

Go to the source code of this file.

Namespaces

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

Functions

static std::string clang::tidy::utils::getFullPrefix (ArrayRef< UseRangesCheck::Indexes > Signature)
 
static auto clang::tidy::utils::makeExprMatcher (ast_matchers::internal::Matcher< Expr > ArgumentMatcher, ArrayRef< StringRef > MethodNames, ArrayRef< StringRef > FreeNames)
 
static ast_matchers::internal::Matcher< CallExpr > clang::tidy::utils::makeMatcherPair (StringRef State, const UseRangesCheck::Indexes &Indexes, ArrayRef< StringRef > BeginFreeNames, ArrayRef< StringRef > EndFreeNames, const std::optional< UseRangesCheck::ReverseIteratorDescriptor > &ReverseDescriptor)
 
static void clang::tidy::utils::removeFunctionArgs (DiagnosticBuilder &Diag, const CallExpr &Call, ArrayRef< unsigned > Indexes, const ASTContext &Ctx)
 

Variables

static constexpr const char BoundCall [] = "CallExpr"
 
static constexpr const char FuncDecl [] = "FuncDecl"
 
static constexpr const char ArgName [] = "ArgName"
 

Variable Documentation

◆ ArgName

constexpr const char ArgName[] = "ArgName"
staticconstexpr

◆ BoundCall

constexpr const char BoundCall[] = "CallExpr"
staticconstexpr

◆ FuncDecl

constexpr const char FuncDecl[] = "FuncDecl"
staticconstexpr