Home
last modified time | relevance | path

Searched refs:LocksForMutex (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DBlockInCriticalSectionChecker.cpp346 llvm::SmallVector<CritSectionMarker, 4> LocksForMutex; in createCritSectionNote() local
348 CritSectionBegins, std::back_inserter(LocksForMutex), in createCritSectionNote()
350 if (LocksForMutex.empty()) in createCritSectionNote()
355 std::reverse(LocksForMutex.begin(), LocksForMutex.end()); in createCritSectionNote()
360 llvm::find_if(std::as_const(LocksForMutex), [M](const auto &Marker) { in createCritSectionNote()
363 if (Position == LocksForMutex.end()) in createCritSectionNote()
368 if (LocksForMutex.size() == 1) { in createCritSectionNote()
374 std::distance(std::as_const(LocksForMutex).begin(), Position); in createCritSectionNote()