Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaDeclAttr.cpp2095 AvailabilityAttr *NewAttr = S.mergeAvailabilityAttr(ND, Attr.getRange(), II, in handleAvailabilityAttr() local
2102 if (NewAttr) in handleAvailabilityAttr()
2103 D->addAttr(NewAttr); in handleAvailabilityAttr()
2137 AvailabilityAttr *NewAttr = S.mergeAvailabilityAttr(ND, in handleAvailabilityAttr() local
2146 if (NewAttr) in handleAvailabilityAttr()
2147 D->addAttr(NewAttr); in handleAvailabilityAttr()
2159 AvailabilityAttr *NewAttr = S.mergeAvailabilityAttr(ND, in handleAvailabilityAttr() local
2168 if (NewAttr) in handleAvailabilityAttr()
2169 D->addAttr(NewAttr); in handleAvailabilityAttr()
2586 SectionAttr *NewAttr = S.mergeSectionAttr(D, Attr.getRange(), Str, Index); in handleSectionAttr() local
[all …]
DSemaDecl.cpp2194 InheritableAttr *NewAttr = nullptr; in mergeDeclAttribute() local
2197 NewAttr = S.mergeAvailabilityAttr(D, AA->getRange(), AA->getPlatform(), in mergeDeclAttribute()
2203 NewAttr = S.mergeVisibilityAttr(D, VA->getRange(), VA->getVisibility(), in mergeDeclAttribute()
2206 NewAttr = S.mergeTypeVisibilityAttr(D, VA->getRange(), VA->getVisibility(), in mergeDeclAttribute()
2209 NewAttr = S.mergeDLLImportAttr(D, ImportA->getRange(), in mergeDeclAttribute()
2212 NewAttr = S.mergeDLLExportAttr(D, ExportA->getRange(), in mergeDeclAttribute()
2215 NewAttr = S.mergeFormatAttr(D, FA->getRange(), FA->getType(), in mergeDeclAttribute()
2219 NewAttr = S.mergeSectionAttr(D, SA->getRange(), SA->getName(), in mergeDeclAttribute()
2222 NewAttr = S.mergeMSInheritanceAttr(D, IA->getRange(), IA->getBestCase(), in mergeDeclAttribute()
2226 NewAttr = S.mergeAlwaysInlineAttr(D, AA->getRange(), in mergeDeclAttribute()
[all …]
DSemaTemplateInstantiate.cpp2063 Attr *NewAttr = in InstantiateClass() local
2065 I->NewDecl->addAttr(NewAttr); in InstantiateClass()
DSemaTemplateInstantiateDecl.cpp292 Attr *NewAttr = sema::instantiateTemplateAttribute(TmplAttr, Context, in InstantiateAttrs() local
294 if (NewAttr) in InstantiateAttrs()
295 New->addAttr(NewAttr); in InstantiateAttrs()
DSemaDeclCXX.cpp4821 auto *NewAttr = in checkClassLevelDLLAttribute() local
4823 NewAttr->setInherited(true); in checkClassLevelDLLAttribute()
4824 Member->addAttr(NewAttr); in checkClassLevelDLLAttribute()
4850 auto *NewAttr = cast<InheritableAttr>(ClassAttr->clone(getASTContext())); in propagateDLLAttrToBaseClassTemplate() local
4851 NewAttr->setInherited(true); in propagateDLLAttrToBaseClassTemplate()
4852 BaseTemplateSpec->addAttr(NewAttr); in propagateDLLAttrToBaseClassTemplate()