Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DTargetAttributesSema.cpp195 DLLImportAttr *NewAttr = S.mergeDLLImportAttr(D, Attr.getRange(), Index); in HandleDLLImportAttr() local
196 if (NewAttr) in HandleDLLImportAttr()
197 D->addAttr(NewAttr); in HandleDLLImportAttr()
238 DLLExportAttr *NewAttr = S.mergeDLLExportAttr(D, Attr.getRange(), Index); in HandleDLLExportAttr() local
239 if (NewAttr) in HandleDLLExportAttr()
240 D->addAttr(NewAttr); in HandleDLLExportAttr()
DSemaDeclAttr.cpp2285 AvailabilityAttr *NewAttr = S.mergeAvailabilityAttr(ND, Attr.getRange(), in handleAvailabilityAttr() local
2293 if (NewAttr) in handleAvailabilityAttr()
2294 D->addAttr(NewAttr); in handleAvailabilityAttr()
2854 SectionAttr *NewAttr = S.mergeSectionAttr(D, Attr.getRange(), in handleSectionAttr() local
2856 if (NewAttr) in handleSectionAttr()
2857 D->addAttr(NewAttr); in handleSectionAttr()
3280 FormatAttr *NewAttr = S.mergeFormatAttr(D, Attr.getRange(), Format, in handleFormatAttr() local
3284 if (NewAttr) in handleFormatAttr()
3285 D->addAttr(NewAttr); in handleFormatAttr()
DSemaDecl.cpp1972 InheritableAttr *NewAttr = NULL; in mergeDeclAttribute() local
1975 NewAttr = S.mergeAvailabilityAttr(D, AA->getRange(), AA->getPlatform(), in mergeDeclAttribute()
1981 NewAttr = S.mergeVisibilityAttr(D, VA->getRange(), VA->getVisibility(), in mergeDeclAttribute()
1984 NewAttr = S.mergeTypeVisibilityAttr(D, VA->getRange(), VA->getVisibility(), in mergeDeclAttribute()
1987 NewAttr = S.mergeDLLImportAttr(D, ImportA->getRange(), in mergeDeclAttribute()
1990 NewAttr = S.mergeDLLExportAttr(D, ExportA->getRange(), in mergeDeclAttribute()
1993 NewAttr = S.mergeFormatAttr(D, FA->getRange(), FA->getType(), in mergeDeclAttribute()
1997 NewAttr = S.mergeSectionAttr(D, SA->getRange(), SA->getName(), in mergeDeclAttribute()
2002 NewAttr = 0; in mergeDeclAttribute()
2004 NewAttr = cast<InheritableAttr>(Attr->clone(S.Context)); in mergeDeclAttribute()
[all …]
DSemaTemplateInstantiateDecl.cpp145 Attr *NewAttr = sema::instantiateTemplateAttribute(TmplAttr, Context, in InstantiateAttrs() local
147 if (NewAttr) in InstantiateAttrs()
148 New->addAttr(NewAttr); in InstantiateAttrs()
DSemaTemplateInstantiate.cpp2085 Attr *NewAttr = in InstantiateClass() local
2087 I->NewDecl->addAttr(NewAttr); in InstantiateClass()