Searched refs:OldImportAttr (Results 1 – 1 of 1) sorted by relevance
5609 const DLLImportAttr *OldImportAttr = OldDecl->getAttr<DLLImportAttr>(); in checkDLLAttributeRedeclaration() local5623 bool AddsAttr = !(OldImportAttr || OldExportAttr) && HasNewAttr; in checkDLLAttributeRedeclaration()5674 if (OldImportAttr && !HasNewAttr && !IsInline && !IsStaticDataMember && in checkDLLAttributeRedeclaration()5688 << NewDecl << OldImportAttr; in checkDLLAttributeRedeclaration()5690 S.Diag(OldImportAttr->getLocation(), diag::note_previous_attribute); in checkDLLAttributeRedeclaration()5694 } else if (IsInline && OldImportAttr && !IsMicrosoft) { in checkDLLAttributeRedeclaration()5700 << NewDecl << OldImportAttr; in checkDLLAttributeRedeclaration()