clang-tools 22.0.0git
SmartPtrArrayMismatchCheck.cpp File Reference
#include "SmartPtrArrayMismatchCheck.h"
#include "../utils/ASTUtils.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/Lex/Lexer.h"

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 bool clang::tidy::bugprone::isInSingleDeclStmt (const DeclaratorDecl *D)
static const DeclaratorDecl * clang::tidy::bugprone::getConstructedVarOrField (const Expr *FoundConstructExpr, ASTContext &Ctx)

Variables

static constexpr char clang::tidy::bugprone::ConstructExprN [] = "found_construct_expr"
static constexpr char clang::tidy::bugprone::NewExprN [] = "found_new_expr"
static constexpr char clang::tidy::bugprone::ConstructorN [] = "found_constructor"