Lines Matching defs:CurrV
96 const RefVal &CurrV,
104 assert(!PrevV.hasSameState(CurrV) && "The state should have changed.");
107 if (CurrV.getKind() == RefVal::Released) {
108 assert(CurrV.getCombinedCounts() == 0);
115 if (!PrevV.hasSameState(CurrV))
116 switch (CurrV.getKind()) {
119 if (PrevV.getCount() == CurrV.getCount()) {
121 if (PrevV.getAutoreleaseCount() == CurrV.getAutoreleaseCount())
124 assert(PrevV.getAutoreleaseCount() < CurrV.getAutoreleaseCount());
129 if (PrevV.getCount() > CurrV.getCount())
134 if (unsigned Count = CurrV.getCount())
140 if (CurrV.getIvarAccessHistory() ==
142 CurrV.getIvarAccessHistory() != PrevV.getIvarAccessHistory()) {
150 if (CurrV.getAutoreleaseCount())
212 const RefVal &CurrV, SymbolRef &Sym,
263 if (CurrV.getObjKind() == ObjKind::CF) {
265 } else if (CurrV.getObjKind() == ObjKind::OS) {
268 } else if (CurrV.getObjKind() == ObjKind::Generalized) {
271 assert(CurrV.getObjKind() == ObjKind::ObjC);
281 if (CurrV.isOwned()) {
284 assert(CurrV.isNotOwned());
485 const RefVal &CurrV = *CurrT;
493 if (PrevT && IsFreeUnowned && CurrV.isNotOwned() && PrevT->isOwned()) {
534 generateDiagnosticsForCallLike(CurrSt, LCtx, CurrV, Sym, S, os);
582 if (!shouldGenerateNote(os, PrevT, CurrV, DeallocSent))