• Home
  • Raw
  • Download

Lines Matching refs:ClassAttr

1414     if (Attr *ClassAttr = getDLLAttr(Class)) {  in CheckBaseSpecifier()  local
1417 propagateDLLAttrToBaseClassTemplate(Class, ClassAttr, BaseTemplate, in CheckBaseSpecifier()
4672 Attr *ClassAttr = getDLLAttr(Class); in ReferenceDllExportedMethods() local
4673 if (!ClassAttr) in ReferenceDllExportedMethods()
4676 assert(ClassAttr->getKind() == attr::DLLExport); in ReferenceDllExportedMethods()
4695 if (TSK == TSK_ImplicitInstantiation && !ClassAttr->isInherited()) in ReferenceDllExportedMethods()
4712 S.Diag(ClassAttr->getLocation(), diag::note_due_to_dllexported_class) in ReferenceDllExportedMethods()
4727 Attr *ClassAttr = getDLLAttr(Class); in checkClassLevelDLLAttribute() local
4730 if (Context.getTargetInfo().getCXXABI().isMicrosoft() && !ClassAttr) { in checkClassLevelDLLAttribute()
4736 ClassAttr = A; in checkClassLevelDLLAttribute()
4741 if (!ClassAttr) in checkClassLevelDLLAttribute()
4746 << Class << ClassAttr; in checkClassLevelDLLAttribute()
4751 !ClassAttr->isInherited()) { in checkClassLevelDLLAttribute()
4762 << MemberAttr << ClassAttr; in checkClassLevelDLLAttribute()
4763 Diag(ClassAttr->getLocation(), diag::note_previous_attribute); in checkClassLevelDLLAttribute()
4773 const bool ClassExported = ClassAttr->getKind() == attr::DLLExport; in checkClassLevelDLLAttribute()
4779 if (ClassExported && !ClassAttr->isInherited() && in checkClassLevelDLLAttribute()
4822 cast<InheritableAttr>(ClassAttr->clone(getASTContext())); in checkClassLevelDLLAttribute()
4835 CXXRecordDecl *Class, Attr *ClassAttr, in propagateDLLAttrToBaseClassTemplate() argument
4850 auto *NewAttr = cast<InheritableAttr>(ClassAttr->clone(getASTContext())); in propagateDLLAttrToBaseClassTemplate()
4875 Diag(ClassAttr->getLocation(), diag::note_attribute); in propagateDLLAttrToBaseClassTemplate()