Searched refs:NewAttr (Results 1 – 5 of 5) sorted by relevance
/external/clang/lib/Sema/ |
D | SemaDeclAttr.cpp | 2095 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 …]
|
D | SemaDecl.cpp | 2194 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 …]
|
D | SemaTemplateInstantiate.cpp | 2063 Attr *NewAttr = in InstantiateClass() local 2065 I->NewDecl->addAttr(NewAttr); in InstantiateClass()
|
D | SemaTemplateInstantiateDecl.cpp | 292 Attr *NewAttr = sema::instantiateTemplateAttribute(TmplAttr, Context, in InstantiateAttrs() local 294 if (NewAttr) in InstantiateAttrs() 295 New->addAttr(NewAttr); in InstantiateAttrs()
|
D | SemaDeclCXX.cpp | 4821 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()
|