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.cpp433 llvm::SmallVector<CritSectionMarker, 4> LocksForMutex; in createCritSectionNote() local
435 CritSectionBegins, std::back_inserter(LocksForMutex), in createCritSectionNote()
437 if (LocksForMutex.empty()) in createCritSectionNote()
442 std::reverse(LocksForMutex.begin(), LocksForMutex.end()); in createCritSectionNote()
447 llvm::find_if(std::as_const(LocksForMutex), [M](const auto &Marker) { in createCritSectionNote()
450 if (Position == LocksForMutex.end()) in createCritSectionNote()
455 if (LocksForMutex.size() == 1) { in createCritSectionNote()
461 std::distance(std::as_const(LocksForMutex).begin(), Position); in createCritSectionNote()