reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
7263 if (FieldDecl *FD = dyn_cast<FieldDecl>(ShadowedDecl)) { 7280 if (VarDecl *shadowedVar = dyn_cast<VarDecl>(ShadowedDecl)) 7286 ShadowedDecl = I; 7291 DeclContext *OldDC = ShadowedDecl->getDeclContext()->getRedeclContext(); 7295 if (isa<VarDecl>(D) && isa<VarDecl>(ShadowedDecl) && NewDC && 7303 CaptureLoc = getCaptureLocation(LSI, cast<VarDecl>(ShadowedDecl)); 7311 {cast<VarDecl>(D), cast<VarDecl>(ShadowedDecl)}); 7316 if (cast<VarDecl>(ShadowedDecl)->hasLocalStorage()) { 7353 ShadowedDeclKind Kind = computeShadowedDeclKind(ShadowedDecl, OldDC); 7358 Diag(ShadowedDecl->getLocation(), diag::note_previous_declaration);