clang-tools  4.0.0
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
 -rename
 
 clang::tidy
 
 clang::tidy::modernize
 

Enumerations

enum  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)
 

Variable Documentation

BindArgumentKind Kind = BK_Other
size_t PlaceHolderIndex = 0

Definition at line 42 of file AvoidBindCheck.cpp.

StringRef Tokens