Lines Matching refs:Elem
930 for (auto Elem : Path) { in shouldLifetimeExtendThroughPath() local
931 if (Elem.Kind == IndirectLocalPathEntry::DefaultInit) in shouldLifetimeExtendThroughPath()
933 else if (Elem.Kind != IndirectLocalPathEntry::LambdaCaptureInit) in shouldLifetimeExtendThroughPath()
1234 auto Elem = Path[I]; in checkExprLifetimeImpl() local
1236 switch (Elem.Kind) { in checkExprLifetimeImpl()
1252 auto *FD = cast<FieldDecl>(Elem.D); in checkExprLifetimeImpl()
1260 const VarDecl *VD = cast<VarDecl>(Elem.D); in checkExprLifetimeImpl()
1268 if (!Elem.Capture->capturesVariable()) in checkExprLifetimeImpl()
1272 const ValueDecl *VD = Elem.Capture->getCapturedVar(); in checkExprLifetimeImpl()
1273 SemaRef.Diag(Elem.Capture->getLocation(), in checkExprLifetimeImpl()
1275 << VD << VD->isInitCapture() << Elem.Capture->isExplicit() in checkExprLifetimeImpl()
1276 << (Elem.Capture->getCaptureKind() == LCK_ByRef) << VD in checkExprLifetimeImpl()