Searched refs:CaptureLoc (Results 1 – 1 of 1) sorted by relevance
7046 SourceLocation CaptureLoc; in CheckShadow() local7055 CaptureLoc = getCaptureLocation(LSI, cast<VarDecl>(ShadowedDecl)); in CheckShadow()7056 if (CaptureLoc.isInvalid()) in CheckShadow()7107 if (!CaptureLoc.isInvalid()) in CheckShadow()7108 Diag(CaptureLoc, diag::note_var_explicitly_captured_here) in CheckShadow()7119 SourceLocation CaptureLoc = getCaptureLocation(LSI, ShadowedDecl); in DiagnoseShadowingLambdaDecls() local7121 Diag(Shadow.VD->getLocation(), CaptureLoc.isInvalid() in DiagnoseShadowingLambdaDecls()7126 if (!CaptureLoc.isInvalid()) in DiagnoseShadowingLambdaDecls()7127 Diag(CaptureLoc, diag::note_var_explicitly_captured_here) in DiagnoseShadowingLambdaDecls()