Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaDeclObjC.cpp208 const ParmVarDecl *oldDecl = (*oi); in CheckObjCMethodOverride() local
211 oldDecl->hasAttr<NSConsumedAttr>()) { in CheckObjCMethodOverride()
216 Diag(oldDecl->getLocation(), diag::note_previous_decl) << "parameter"; in CheckObjCMethodOverride()
219 diagnoseNoescape(newDecl, oldDecl, *this); in CheckObjCMethodOverride()
H A DSemaDecl.cpp2725 const ParmVarDecl *oldDecl, in mergeParamDeclAttributes() argument
2732 if (CDA && !oldDecl->hasAttr<CarriesDependencyAttr>()) { in mergeParamDeclAttributes()
2738 cast<FunctionDecl>(oldDecl->getDeclContext())->getFirstDecl(); in mergeParamDeclAttributes()
2740 FirstFD->getParamDecl(oldDecl->getFunctionScopeIndex()); in mergeParamDeclAttributes()
2745 if (!oldDecl->hasAttrs()) in mergeParamDeclAttributes()
2754 for (const auto *I : oldDecl->specific_attrs<InheritableParamAttr>()) { in mergeParamDeclAttributes()