clang 24.0.0git
BlockInCriticalSectionChecker.cpp File Reference

Go to the source code of this file.

Functions

static const MemRegion * getFirstArgRegion (const CallEvent &Call)
static const MemRegion * getCXXThisRegion (const CallEvent &Call)
static const MemRegion * getObjectUnderConstruction (const CallEvent &Call)
static const MemRegion * getCXXDestructorThisRegion (const CallEvent &Call)
static bool isNotDeferLockUniqueLock (const CallEvent &Call)
static const MemRegion * skipStdBaseClassRegion (const MemRegion *Reg)
static const MemRegion * getMutexRegion (const CallEvent &Call, const ThreadingCallDescription &Desc)

Function Documentation

◆ getCXXDestructorThisRegion()

const MemRegion * getCXXDestructorThisRegion ( const CallEvent & Call)
static

Definition at line 50 of file BlockInCriticalSectionChecker.cpp.

References clang::Call.

◆ getCXXThisRegion()

const MemRegion * getCXXThisRegion ( const CallEvent & Call)
static

◆ getFirstArgRegion()

const MemRegion * getFirstArgRegion ( const CallEvent & Call)
static

Definition at line 36 of file BlockInCriticalSectionChecker.cpp.

References clang::Call.

◆ getMutexRegion()

const MemRegion * getMutexRegion ( const CallEvent & Call,
const ThreadingCallDescription & Desc )
static

Definition at line 261 of file BlockInCriticalSectionChecker.cpp.

References clang::Call, and skipStdBaseClassRegion().

◆ getObjectUnderConstruction()

const MemRegion * getObjectUnderConstruction ( const CallEvent & Call)
static

Definition at line 44 of file BlockInCriticalSectionChecker.cpp.

References clang::Call.

◆ isNotDeferLockUniqueLock()

bool isNotDeferLockUniqueLock ( const CallEvent & Call)
static

◆ skipStdBaseClassRegion()

const MemRegion * skipStdBaseClassRegion ( const MemRegion * Reg)
static

Definition at line 251 of file BlockInCriticalSectionChecker.cpp.

References clang::ento::isWithinStdNamespace().

Referenced by getMutexRegion().