Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountDiagnostics.cpp96 const RefVal &CurrV, in shouldGenerateNote() argument
104 assert(!PrevV.hasSameState(CurrV) && "The state should have changed."); in shouldGenerateNote()
107 if (CurrV.getKind() == RefVal::Released) { in shouldGenerateNote()
108 assert(CurrV.getCombinedCounts() == 0); in shouldGenerateNote()
115 if (!PrevV.hasSameState(CurrV)) in shouldGenerateNote()
116 switch (CurrV.getKind()) { in shouldGenerateNote()
119 if (PrevV.getCount() == CurrV.getCount()) { in shouldGenerateNote()
121 if (PrevV.getAutoreleaseCount() == CurrV.getAutoreleaseCount()) in shouldGenerateNote()
124 assert(PrevV.getAutoreleaseCount() < CurrV.getAutoreleaseCount()); in shouldGenerateNote()
129 if (PrevV.getCount() > CurrV.getCount()) in shouldGenerateNote()
[all …]