Searched refs:CaptureLoc (Results 1 – 1 of 1) sorted by relevance
8215 SourceLocation CaptureLoc; in CheckShadow() local8224 CaptureLoc = getCaptureLocation(LSI, cast<VarDecl>(ShadowedDecl)); in CheckShadow()8225 if (CaptureLoc.isInvalid()) in CheckShadow()8274 if (!CaptureLoc.isInvalid()) in CheckShadow()8275 Diag(CaptureLoc, diag::note_var_explicitly_captured_here) in CheckShadow()8286 SourceLocation CaptureLoc = getCaptureLocation(LSI, ShadowedDecl); in DiagnoseShadowingLambdaDecls() local8288 Diag(Shadow.VD->getLocation(), CaptureLoc.isInvalid() in DiagnoseShadowingLambdaDecls()8293 if (!CaptureLoc.isInvalid()) in DiagnoseShadowingLambdaDecls()8294 Diag(CaptureLoc, diag::note_var_explicitly_captured_here) in DiagnoseShadowingLambdaDecls()