Lines Matching refs:UninitUse
676 static void DiagUninitUse(Sema &S, const VarDecl *VD, const UninitUse &Use, in DiagUninitUse()
681 case UninitUse::Always: in DiagUninitUse()
687 case UninitUse::AfterDecl: in DiagUninitUse()
688 case UninitUse::AfterCall: in DiagUninitUse()
691 << (Use.getKind() == UninitUse::AfterDecl ? 4 : 5) in DiagUninitUse()
698 case UninitUse::Maybe: in DiagUninitUse()
699 case UninitUse::Sometimes: in DiagUninitUse()
706 for (UninitUse::branch_iterator I = Use.branch_begin(), E = Use.branch_end(); in DiagUninitUse()
708 assert(Use.getKind() == UninitUse::Sometimes); in DiagUninitUse()
849 const UninitUse &Use, in DiagnoseUninitializedUse()
1362 typedef SmallVector<UninitUse, 2> UsesVec;
1382 const UninitUse &use) override { in handleUseOfUninitVariable()
1403 UninitUse(vd->getInit()->IgnoreParenCasts(), in flushDiagnostics()
1411 [](const UninitUse &a, const UninitUse &b) { in flushDiagnostics()
1420 UninitUse Use = hasSelfInit ? UninitUse(U.getUser(), false) : U; in flushDiagnostics()
1438 return std::any_of(vec->begin(), vec->end(), [](const UninitUse &U) { in hasAlwaysUninitializedUse()
1439 return U.getKind() == UninitUse::Always || in hasAlwaysUninitializedUse()
1440 U.getKind() == UninitUse::AfterCall || in hasAlwaysUninitializedUse()
1441 U.getKind() == UninitUse::AfterDecl; in hasAlwaysUninitializedUse()