Searched refs:OldImportAttr (Results 1 – 1 of 1) sorted by relevance
5472 const DLLImportAttr *OldImportAttr = OldDecl->getAttr<DLLImportAttr>(); in checkDLLAttributeRedeclaration() local5486 bool AddsAttr = !(OldImportAttr || OldExportAttr) && HasNewAttr; in checkDLLAttributeRedeclaration()5534 if (OldImportAttr && !HasNewAttr && !IsInline && !IsStaticDataMember && in checkDLLAttributeRedeclaration()5538 << NewDecl << OldImportAttr; in checkDLLAttributeRedeclaration()5540 S.Diag(OldImportAttr->getLocation(), diag::note_previous_attribute); in checkDLLAttributeRedeclaration()5543 } else if (IsInline && OldImportAttr && in checkDLLAttributeRedeclaration()5550 << NewDecl << OldImportAttr; in checkDLLAttributeRedeclaration()