clang 22.0.0git
MemoryUnsafeCastChecker.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.
namespace  clang::ast_matchers

Functions

static void emitDiagnostics (const BoundNodes &Nodes, BugReporter &BR, AnalysisDeclContext *ADC, const MemoryUnsafeCastChecker *Checker, const BugType &BT)
static void emitDiagnosticsUnrelated (const BoundNodes &Nodes, BugReporter &BR, AnalysisDeclContext *ADC, const MemoryUnsafeCastChecker *Checker, const BugType &BT)
 clang::ast_matchers::AST_MATCHER_P (StringLiteral, mentionsBoundType, std::string, BindingID)
static decltype(auto) hasTypePointingTo (DeclarationMatcher DeclM)

Function Documentation

◆ emitDiagnostics()

void emitDiagnostics ( const BoundNodes & Nodes,
BugReporter & BR,
AnalysisDeclContext * ADC,
const MemoryUnsafeCastChecker * Checker,
const BugType & BT )
static

◆ emitDiagnosticsUnrelated()

void emitDiagnosticsUnrelated ( const BoundNodes & Nodes,
BugReporter & BR,
AnalysisDeclContext * ADC,
const MemoryUnsafeCastChecker * Checker,
const BugType & BT )
static

◆ hasTypePointingTo()

decltype(auto) hasTypePointingTo ( DeclarationMatcher DeclM)
static