Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/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.cpp2982 static void mergeParamDeclAttributes(ParmVarDecl *newDecl, in mergeParamDeclAttributes() argument
2989 const CarriesDependencyAttr *CDA = newDecl->getAttr<CarriesDependencyAttr>(); in mergeParamDeclAttributes()
3006 bool foundAny = newDecl->hasAttrs(); in mergeParamDeclAttributes()
3010 if (!foundAny) newDecl->setAttrs(AttrVec()); in mergeParamDeclAttributes()
3013 if (!DeclHasAttr(newDecl, I)) { in mergeParamDeclAttributes()
3017 newDecl->addAttr(newAttr); in mergeParamDeclAttributes()
3022 if (!foundAny) newDecl->dropAttrs(); in mergeParamDeclAttributes()