clang-tools  5.0.0
Namespaces | Functions
UseAfterMoveCheck.cpp File Reference
#include "UseAfterMoveCheck.h"
#include "clang/Analysis/CFG.h"
#include "clang/Lex/Lexer.h"
#include "../utils/ExprSequence.h"
Include dependency graph for UseAfterMoveCheck.cpp:

Go to the source code of this file.

Namespaces

 clang
 
 clang::tidy
 
 clang::tidy::misc
 

Functions

static StatementMatcher clang::tidy::misc::inDecltypeOrTemplateArg ()
 
bool clang::tidy::misc::isStandardSmartPointer (const ValueDecl *VD)
 
static void clang::tidy::misc::emitDiagnostic (const Expr *MovingCall, const DeclRefExpr *MoveArg, const UseAfterMove &Use, ClangTidyCheck *Check, ASTContext *Context)
 

Variable Documentation

std::unique_ptr<StmtToBlockMap> BlockMap

Definition at line 64 of file UseAfterMoveCheck.cpp.

ASTContext* Context

Definition at line 62 of file UseAfterMoveCheck.cpp.

const DeclRefExpr* DeclRef
bool EvaluationOrderUndefined

Definition at line 33 of file UseAfterMoveCheck.cpp.

std::unique_ptr<ExprSequence> Sequence

Definition at line 63 of file UseAfterMoveCheck.cpp.

llvm::SmallPtrSet<const CFGBlock *, 8> Visited

Definition at line 65 of file UseAfterMoveCheck.cpp.