clang-tools 22.0.0git
DanglingHandleCheck.cpp File Reference
#include "DanglingHandleCheck.h"
#include "../utils/Matchers.h"
#include "../utils/OptionsUtils.h"
#include "clang/AST/ASTContext.h"
#include "clang/ASTMatchers/ASTMatchFinder.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 ast_matchers::internal::BindableMatcher< Stmt > clang::tidy::bugprone::handleFrom (const ast_matchers::internal::Matcher< RecordDecl > &IsAHandle, const ast_matchers::internal::Matcher< Expr > &Arg)
static ast_matchers::internal::Matcher< Stmt > clang::tidy::bugprone::handleFromTemporaryValue (const ast_matchers::internal::Matcher< RecordDecl > &IsAHandle)
static ast_matchers::internal::Matcher< RecordDecl > clang::tidy::bugprone::isASequence ()
static ast_matchers::internal::Matcher< RecordDecl > clang::tidy::bugprone::isASet ()
static ast_matchers::internal::Matcher< RecordDecl > clang::tidy::bugprone::isAMap ()
static ast_matchers::internal::BindableMatcher< Stmt > clang::tidy::bugprone::makeContainerMatcher (const ast_matchers::internal::Matcher< RecordDecl > &IsAHandle)