clang-tools 17.0.0git
|
#include "UseAfterMoveCheck.h"
#include "clang/AST/Expr.h"
#include "clang/AST/ExprCXX.h"
#include "clang/ASTMatchers/ASTMatchers.h"
#include "clang/Analysis/CFG.h"
#include "clang/Lex/Lexer.h"
#include "llvm/ADT/STLExtras.h"
#include "../utils/ExprSequence.h"
#include "../utils/Matchers.h"
#include <optional>
Go to the source code of this file.
Namespaces | |
namespace | clang |
===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===// | |
namespace | clang::tidy |
namespace | 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) |
const DeclRefExpr* DeclRef |
Definition at line 34 of file UseAfterMoveCheck.cpp.
Referenced by clang::tidy::modernize::anyDescendantIsLocal(), clang::tidy::bugprone::SuspiciousReallocUsageCheck::check(), clang::tidy::bugprone::UnsafeFunctionsCheck::check(), clang::tidy::google::build::ExplicitMakePairCheck::check(), clang::tidy::readability::findUsage(), clang::tidy::readability::findUsageRange(), clang::tidy::utils::decl_ref_expr::isCopyAssignmentArgument(), clang::tidy::utils::decl_ref_expr::isCopyConstructorArgument(), clang::tidy::readability::isViableLoop(), and clang::tidy::misc::UnusedParametersCheck::IndexerVisitor::WalkUpFromDeclRefExpr().
bool EvaluationOrderUndefined |
Definition at line 37 of file UseAfterMoveCheck.cpp.