Home
last modified time | relevance | path

Searched refs:OldImportAttr (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDecl.cpp6971 const DLLImportAttr *OldImportAttr = OldDecl->getAttr<DLLImportAttr>(); in checkDLLAttributeRedeclaration() local
6985 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()