Home
last modified time | relevance | path

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

/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDSemaDeclObjC.cpp183 ParmVarDecl *newDecl = (*ni); in CheckObjCMethodOverride() local
184 if (newDecl->hasAttr<NSConsumedAttr>() != in CheckObjCMethodOverride()
186 Diag(newDecl->getLocation(), in CheckObjCMethodOverride()
HDSemaDecl.cpp2426 static void mergeParamDeclAttributes(ParmVarDecl *newDecl, in mergeParamDeclAttributes() argument
2433 const CarriesDependencyAttr *CDA = newDecl->getAttr<CarriesDependencyAttr>(); in mergeParamDeclAttributes()
2450 bool foundAny = newDecl->hasAttrs(); in mergeParamDeclAttributes()
2454 if (!foundAny) newDecl->setAttrs(AttrVec()); in mergeParamDeclAttributes()
2457 if (!DeclHasAttr(newDecl, I)) { in mergeParamDeclAttributes()
2461 newDecl->addAttr(newAttr); in mergeParamDeclAttributes()
2466 if (!foundAny) newDecl->dropAttrs(); in mergeParamDeclAttributes()