Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaDeclObjC.cpp209 ParmVarDecl *newDecl = (*ni); in CheckObjCMethodOverride() local
210 if (newDecl->hasAttr<NSConsumedAttr>() != in CheckObjCMethodOverride()
212 Diag(newDecl->getLocation(), in CheckObjCMethodOverride()
219 diagnoseNoescape(newDecl, oldDecl, *this); in CheckObjCMethodOverride()
H A DSemaDecl.cpp2724 static void mergeParamDeclAttributes(ParmVarDecl *newDecl, in mergeParamDeclAttributes() argument
2731 const CarriesDependencyAttr *CDA = newDecl->getAttr<CarriesDependencyAttr>(); in mergeParamDeclAttributes()
2748 bool foundAny = newDecl->hasAttrs(); in mergeParamDeclAttributes()
2752 if (!foundAny) newDecl->setAttrs(AttrVec()); in mergeParamDeclAttributes()
2755 if (!DeclHasAttr(newDecl, I)) { in mergeParamDeclAttributes()
2759 newDecl->addAttr(newAttr); in mergeParamDeclAttributes()
2764 if (!foundAny) newDecl->dropAttrs(); in mergeParamDeclAttributes()