Searched refs:OldImportAttr (Results 1 – 1 of 1) sorted by relevance
6971 const DLLImportAttr *OldImportAttr = OldDecl->getAttr<DLLImportAttr>(); in checkDLLAttributeRedeclaration() local6985 bool AddsAttr = !(OldImportAttr || OldExportAttr) && HasNewAttr; in checkDLLAttributeRedeclaration()7037 if (OldImportAttr && !HasNewAttr && in checkDLLAttributeRedeclaration()7045 S.Diag(OldImportAttr->getLocation(), diag::note_attribute); in checkDLLAttributeRedeclaration()7062 << NewDecl << OldImportAttr; in checkDLLAttributeRedeclaration()7064 S.Diag(OldImportAttr->getLocation(), diag::note_previous_attribute); in checkDLLAttributeRedeclaration()7068 } else if (IsInline && OldImportAttr && !IsMicrosoftABI) { in checkDLLAttributeRedeclaration()7075 << NewDecl << OldImportAttr; in checkDLLAttributeRedeclaration()