clang-tools  10.0.0svn
Namespaces | Enumerations | Functions
AvoidBindCheck.cpp File Reference
#include "AvoidBindCheck.h"
#include "clang/AST/ASTContext.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/Basic/LLVM.h"
#include "clang/Basic/LangOptions.h"
#include "clang/Basic/SourceLocation.h"
#include "clang/Lex/Lexer.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/SmallSet.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/Regex.h"
#include "llvm/Support/raw_ostream.h"
#include <algorithm>
#include <cstddef>
#include <string>
Include dependency graph for AvoidBindCheck.cpp:

Go to the source code of this file.

Namespaces

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

Enumerations

enum  clang::tidy::modernize::@389::BindArgumentKind
 

Functions

static SmallVector< BindArgument, 4 > clang::tidy::modernize::buildBindArguments (const MatchFinder::MatchResult &Result, const CallExpr *C)
 
static void clang::tidy::modernize::addPlaceholderArgs (const ArrayRef< BindArgument > Args, llvm::raw_ostream &Stream)
 
static void clang::tidy::modernize::addFunctionCallArgs (const ArrayRef< BindArgument > Args, llvm::raw_ostream &Stream)
 
static bool clang::tidy::modernize::isPlaceHolderIndexRepeated (const ArrayRef< BindArgument > Args)
 

Enumeration Type Documentation

◆ BindArgumentKind

enum clang::tidy::modernize::@389::BindArgumentKind

Definition at line 36 of file AvoidBindCheck.cpp.

Variable Documentation

◆ Kind

BindArgumentKind Kind = BK_Other

◆ PlaceHolderIndex

size_t PlaceHolderIndex = 0

Definition at line 41 of file AvoidBindCheck.cpp.

◆ Tokens

StringRef Tokens

Definition at line 39 of file AvoidBindCheck.cpp.