Searched refs:OldImportAttr (Results 1 – 1 of 1) sorted by relevance
5260 const DLLImportAttr *OldImportAttr = OldDecl->getAttr<DLLImportAttr>(); in checkDLLAttributeRedeclaration() local5274 bool AddsAttr = !(OldImportAttr || OldExportAttr) && HasNewAttr; in checkDLLAttributeRedeclaration()5316 if (OldImportAttr && !HasNewAttr && !IsInline && !IsStaticDataMember && in checkDLLAttributeRedeclaration()5320 << NewDecl << OldImportAttr; in checkDLLAttributeRedeclaration()5322 S.Diag(OldImportAttr->getLocation(), diag::note_previous_attribute); in checkDLLAttributeRedeclaration()5325 } else if (IsInline && OldImportAttr && in checkDLLAttributeRedeclaration()5332 << NewDecl << OldImportAttr; in checkDLLAttributeRedeclaration()