Searched refs:CaptureLoc (Results 1 – 1 of 1) sorted by relevance
8090 SourceLocation CaptureLoc; in CheckShadow() local8099 CaptureLoc = getCaptureLocation(LSI, cast<VarDecl>(ShadowedDecl)); in CheckShadow()8100 if (CaptureLoc.isInvalid()) in CheckShadow()8149 if (!CaptureLoc.isInvalid()) in CheckShadow()8150 Diag(CaptureLoc, diag::note_var_explicitly_captured_here) in CheckShadow()8161 SourceLocation CaptureLoc = getCaptureLocation(LSI, ShadowedDecl); in DiagnoseShadowingLambdaDecls() local8163 Diag(Shadow.VD->getLocation(), CaptureLoc.isInvalid() in DiagnoseShadowingLambdaDecls()8168 if (!CaptureLoc.isInvalid()) in DiagnoseShadowingLambdaDecls()8169 Diag(CaptureLoc, diag::note_var_explicitly_captured_here) in DiagnoseShadowingLambdaDecls()