clang-tools  12.0.0git
Namespaces | Functions
UseAfterMoveCheck.cpp File Reference
#include "UseAfterMoveCheck.h"
#include "clang/AST/Expr.h"
#include "clang/AST/ExprCXX.h"
#include "clang/AST/ExprConcepts.h"
#include "clang/ASTMatchers/ASTMatchers.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
 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
 
 clang::tidy
 
 clang::tidy::bugprone
 

Functions

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

Variable Documentation

◆ DeclRef

const DeclRefExpr* DeclRef

Definition at line 50 of file UseAfterMoveCheck.cpp.

Referenced by clang::tidy::modernize::anyDescendantIsLocal().

◆ EvaluationOrderUndefined

bool EvaluationOrderUndefined

Definition at line 53 of file UseAfterMoveCheck.cpp.