Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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.cpp3317 static void mergeParamDeclAttributes(ParmVarDecl *newDecl, in mergeParamDeclAttributes() argument
3324 const CarriesDependencyAttr *CDA = newDecl->getAttr<CarriesDependencyAttr>(); in mergeParamDeclAttributes()
3341 bool foundAny = newDecl->hasAttrs(); in mergeParamDeclAttributes()
3345 if (!foundAny) newDecl->setAttrs(AttrVec()); in mergeParamDeclAttributes()
3348 if (!DeclHasAttr(newDecl, I)) { in mergeParamDeclAttributes()
3352 newDecl->addAttr(newAttr); in mergeParamDeclAttributes()
3357 if (!foundAny) newDecl->dropAttrs(); in mergeParamDeclAttributes()