Home
last modified time | relevance | path

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

12

/dports/lang/kawa/kawa-3.1.1/gnu/expr/
H A DScopeExp.java72 Declaration oldDecl; in replaceFollowing() local
75 oldDecl = decls; in replaceFollowing()
80 oldDecl = prev.nextDecl(); in replaceFollowing()
83 newDecl.setNext(oldDecl.nextDecl()); in replaceFollowing()
84 if (last == oldDecl) in replaceFollowing()
86 oldDecl.setNext(null); in replaceFollowing()
224 public static void duplicateDeclarationError (Declaration oldDecl, in duplicateDeclarationError() argument
229 comp.error('e', oldDecl, "(this is the previous declaration of '", "')"); in duplicateDeclarationError()
H A DNameLookup.java87 Declaration oldDecl = oldNode.getValue(); in push() local
89 if (oldDecl != null in push()
90 && decl.getSymbol() == oldDecl.getSymbol() in push()
91 && oldDecl.getContext() instanceof ModuleExp in push()
92 && decl.getContext() != oldDecl.getContext() in push()
93 && dnamespace == language.getNamespaceOf(oldDecl)) in push()
/dports/games/hs-scroll/scroll-1.20180421/_cabal_deps/language-c-0.8.3/src/Language/C/Analysis/
H A DDefTable.hs204 defRedeclStatus sameKind def oldDecl =
205 case oldDecl of
212 defRedeclStatusLocal sameKind ident def oldDecl nsm =
213 case defRedeclStatus sameKind def oldDecl of
221 (defRedeclStatus compatIdentEntry (Left tydef) oldDecl, deftbl { identDecls = decls' })
223 (decls', oldDecl) = defLocal (identDecls deftbl) ident (Left tydef) function
231 (defRedeclStatus compatIdentEntry (Right def) oldDecl, deftbl { identDecls = decls' })
233 (decls',oldDecl) = defGlobal (identDecls deftbl) ident (Right def)
/dports/lang/kawa/kawa-3.1.1/kawa/lang/
H A DBindDecls.java36 Declaration oldDecl = comp.lexical.lookup(name, false); in define() local
39 && oldDecl != null in define()
40 && oldDecl.context != scope in define()
41 && ! (oldDecl.context instanceof ModuleExp)) { in define()
43 comp.error('w', oldDecl, "(this is the previous declaration of '", "')"); in define()
307 Declaration oldDecl; field in BindDecls.ReplaceDecl
310 if (exp.getBinding() == oldDecl) in visitReferenceExp()
320 v.oldDecl = decl; in mapInit()
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/third_party/mozjs-45/extract/js/src/frontend/
H A DParser.cpp393 Definition* oldDecl = decls_.lookupFirst(atom); in updateDecl() local
404 if (vars_[i] == oldDecl) { in updateDecl()
426 MOZ_ASSERT(oldDecl->isBound()); in updateDecl()
427 MOZ_ASSERT(!oldDecl->pn_scopecoord.isFree()); in updateDecl()
428 newDecl->pn_scopecoord = oldDecl->pn_scopecoord; in updateDecl()
430 if (IsArgOp(oldDecl->getOp())) { in updateDecl()
432 MOZ_ASSERT(args_[oldDecl->pn_scopecoord.slot()] == oldDecl); in updateDecl()
433 args_[oldDecl->pn_scopecoord.slot()] = newDecl; in updateDecl()
435 MOZ_ASSERT(IsLocalOp(oldDecl->getOp())); in updateDecl()
437 MOZ_ASSERT(vars_[oldDecl->pn_scopecoord.slot()] == oldDecl); in updateDecl()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/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()
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/clang/lib/Sema/
H A DSemaDeclObjC.cpp207 const ParmVarDecl *oldDecl = (*oi); in CheckObjCMethodOverride() local
210 oldDecl->hasAttr<NSConsumedAttr>()) { in CheckObjCMethodOverride()
215 Diag(oldDecl->getLocation(), diag::note_previous_decl) << "parameter"; in CheckObjCMethodOverride()
218 diagnoseNoescape(newDecl, oldDecl, *this); in CheckObjCMethodOverride()
H A DSemaDecl.cpp2934 const ParmVarDecl *oldDecl, in mergeParamDeclAttributes() argument
2941 if (CDA && !oldDecl->hasAttr<CarriesDependencyAttr>()) { in mergeParamDeclAttributes()
2947 cast<FunctionDecl>(oldDecl->getDeclContext())->getFirstDecl(); in mergeParamDeclAttributes()
2949 FirstFD->getParamDecl(oldDecl->getFunctionScopeIndex()); in mergeParamDeclAttributes()
2954 if (!oldDecl->hasAttrs()) in mergeParamDeclAttributes()
2963 for (const auto *I : oldDecl->specific_attrs<InheritableParamAttr>()) { in mergeParamDeclAttributes()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/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()
/dports/devel/llvm10/llvm-10.0.1.src/tools/clang/lib/Sema/
H A DSemaDeclObjC.cpp207 const ParmVarDecl *oldDecl = (*oi); in CheckObjCMethodOverride() local
210 oldDecl->hasAttr<NSConsumedAttr>()) { in CheckObjCMethodOverride()
215 Diag(oldDecl->getLocation(), diag::note_previous_decl) << "parameter"; in CheckObjCMethodOverride()
218 diagnoseNoescape(newDecl, oldDecl, *this); in CheckObjCMethodOverride()
H A DSemaDecl.cpp2934 const ParmVarDecl *oldDecl, in mergeParamDeclAttributes() argument
2941 if (CDA && !oldDecl->hasAttr<CarriesDependencyAttr>()) { in mergeParamDeclAttributes()
2947 cast<FunctionDecl>(oldDecl->getDeclContext())->getFirstDecl(); in mergeParamDeclAttributes()
2949 FirstFD->getParamDecl(oldDecl->getFunctionScopeIndex()); in mergeParamDeclAttributes()
2954 if (!oldDecl->hasAttrs()) in mergeParamDeclAttributes()
2963 for (const auto *I : oldDecl->specific_attrs<InheritableParamAttr>()) { in mergeParamDeclAttributes()
/dports/devel/llvm11/llvm-11.0.1.src/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()
/dports/devel/llvm90/llvm-9.0.1.src/tools/clang/lib/Sema/
H A DSemaDeclObjC.cpp207 const ParmVarDecl *oldDecl = (*oi); in CheckObjCMethodOverride() local
210 oldDecl->hasAttr<NSConsumedAttr>()) { in CheckObjCMethodOverride()
215 Diag(oldDecl->getLocation(), diag::note_previous_decl) << "parameter"; in CheckObjCMethodOverride()
218 diagnoseNoescape(newDecl, oldDecl, *this); in CheckObjCMethodOverride()
H A DSemaDecl.cpp2776 const ParmVarDecl *oldDecl, in mergeParamDeclAttributes() argument
2783 if (CDA && !oldDecl->hasAttr<CarriesDependencyAttr>()) { in mergeParamDeclAttributes()
2789 cast<FunctionDecl>(oldDecl->getDeclContext())->getFirstDecl(); in mergeParamDeclAttributes()
2791 FirstFD->getParamDecl(oldDecl->getFunctionScopeIndex()); in mergeParamDeclAttributes()
2796 if (!oldDecl->hasAttrs()) in mergeParamDeclAttributes()
2805 for (const auto *I : oldDecl->specific_attrs<InheritableParamAttr>()) { in mergeParamDeclAttributes()
/dports/devel/llvm80/llvm-8.0.1.src/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()
/dports/devel/llvm70/llvm-7.0.1.src/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()
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/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()
/dports/devel/llvm12/llvm-project-12.0.1.src/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()
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/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()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/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()
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/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()
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/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()
/dports/devel/llvm13/llvm-project-13.0.1.src/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()
/dports/lang/clang-mesa/clang-13.0.1.src/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()
/dports/net-mgmt/libsmi/libsmi-0.4.8/tools/
H A Dsmidiff.c561 char *name, SmiDecl oldDecl, SmiDecl newDecl) in checkDecl() argument
565 if (oldDecl != newDecl) { in checkDecl()

12