clang 24.0.0git
MemoryUnsafeCastChecker.cpp File Reference

Go to the source code of this file.

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)
static void emitDiagnosticsIdArg (const BoundNodes &Nodes, BugReporter &BR, AnalysisDeclContext *ADC, const MemoryUnsafeCastChecker *Checker, const BugType &BT)
static decltype(auto) hasTypePointingTo (DeclarationMatcher DeclM)
static decltype(auto) isThisOrDerefThis ()

Function Documentation

◆ emitDiagnostics()

◆ emitDiagnosticsIdArg()

◆ emitDiagnosticsUnrelated()

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

◆ hasTypePointingTo()

decltype(auto) hasTypePointingTo ( DeclarationMatcher DeclM)
static

◆ isThisOrDerefThis()

decltype(auto) isThisOrDerefThis ( )
static