Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/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.cpp3318 const ParmVarDecl *oldDecl, in mergeParamDeclAttributes() argument
3325 if (CDA && !oldDecl->hasAttr<CarriesDependencyAttr>()) { in mergeParamDeclAttributes()
3331 cast<FunctionDecl>(oldDecl->getDeclContext())->getFirstDecl(); in mergeParamDeclAttributes()
3333 FirstFD->getParamDecl(oldDecl->getFunctionScopeIndex()); in mergeParamDeclAttributes()
3338 if (!oldDecl->hasAttrs()) in mergeParamDeclAttributes()
3347 for (const auto *I : oldDecl->specific_attrs<InheritableParamAttr>()) { in mergeParamDeclAttributes()