Home
last modified time | relevance | path

Searched refs:funcdecl (Results 1 – 13 of 13) sorted by relevance

/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/
H A Dsemantic3.d211 override void visit(FuncDeclaration funcdecl) in visit() argument
219 auto f = funcdecl.type.isTypeFunction(); in visit()
222 if (sc.flags & SCOPE.Cfile && funcdecl.isCMain() && f.next.ty == Tint32) in visit()
226 (funcdecl.isMain() || global.params.betterC && funcdecl.isCMain()); in visit()
231 if (!funcdecl.parent) in visit()
238 if (funcdecl.errors || isError(funcdecl.parent)) in visit()
240 funcdecl.errors = true; in visit()
243 if (funcdecl.inferRetType) in visit()
245 assert(funcdecl.type); in visit()
246 auto tf = funcdecl.type.isTypeFunction(); in visit()
[all …]
H A Ddsymbolsem.d186 package bool allowsContractWithoutBody(FuncDeclaration funcdecl) in allowsContractWithoutBody() argument
188 assert(!funcdecl.fbody); in allowsContractWithoutBody()
193 Dsymbol parent = funcdecl.toParent(); in allowsContractWithoutBody()
196 if (!funcdecl.isAbstract() && in allowsContractWithoutBody()
197 (funcdecl.fensures || funcdecl.frequires) && in allowsContractWithoutBody()
198 !(id && funcdecl.isVirtual())) in allowsContractWithoutBody()
2958 void funcDeclarationSemantic(FuncDeclaration funcdecl) in funcDeclarationSemantic() argument
2962 …laration::semantic(sc = %p, this = %p, '%s', linkage = %d)\n", sc, funcdecl, funcdecl.toPrettyChar… in funcDeclarationSemantic()
2963 if (funcdecl.isFuncLiteralDeclaration()) in funcDeclarationSemantic()
2965 …printf("sc.parent = %s, parent = %s\n", sc.parent.toChars(), funcdecl.parent ? funcdecl.parent.toC… in funcDeclarationSemantic()
[all …]
H A Dob.d53 void oblive(FuncDeclaration funcdecl) in oblive() argument
61 setLabelStatementExtraFields(funcdecl.labtab); in oblive()
62 toObNodes(obstate.nodes, funcdecl.fbody); in oblive()
71 collectVars(funcdecl, obstate.vars); in oblive()
1153 void collectVars(FuncDeclaration funcdecl, out VarDeclarations vars) in collectVars() argument
1159 if (funcdecl.parameters) in collectVars()
1160 foreach (v; (*funcdecl.parameters)[]) in collectVars()
1177 foreachExpAndVar(funcdecl.fbody, &dgExp, &dgVar); in collectVars()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/cris/
H A Dcris.c2765 tree funcdecl) in cris_asm_output_mi_thunk() argument
2784 const char *name = XSTR (XEXP (DECL_RTL (funcdecl), 0), 0); in cris_asm_output_mi_thunk()
2804 assemble_name (stream, XSTR (XEXP (DECL_RTL (funcdecl), 0), 0)); in cris_asm_output_mi_thunk()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Dfunc.c1345 static bool addReturn0(FuncDeclaration *funcdecl) in addReturn0() argument
1347 TypeFunction *f = (TypeFunction *)funcdecl->type; in addReturn0()
1350 (funcdecl->isMain() || (global.params.betterC && funcdecl->isCMain())); in addReturn0()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/cris/
H A Dcris.cc2365 tree funcdecl) in cris_asm_output_mi_thunk() argument
2383 assemble_name (stream, XSTR (XEXP (DECL_RTL (funcdecl), 0), 0)); in cris_asm_output_mi_thunk()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dtarghooks.c844 const_tree funcdecl ATTRIBUTE_UNUSED, in hook_invalid_arg_for_unprototyped_fn()
H A Dtarget.def4954 illegal to pass argument @var{val} to function @var{funcdecl}\n\
4956 const char *, (const_tree typelist, const_tree funcdecl, const_tree val),
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/s390/
H A Ds390.c11863 s390_invalid_arg_for_unprototyped_fn (const_tree typelist, const_tree funcdecl, const_tree val) in s390_invalid_arg_for_unprototyped_fn() argument
11868 && (funcdecl == NULL_TREE in s390_invalid_arg_for_unprototyped_fn()
11869 || (TREE_CODE (funcdecl) == FUNCTION_DECL in s390_invalid_arg_for_unprototyped_fn()
11870 && DECL_BUILT_IN_CLASS (funcdecl) != BUILT_IN_MD))) in s390_invalid_arg_for_unprototyped_fn()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/s390/
H A Ds390.cc12139 s390_invalid_arg_for_unprototyped_fn (const_tree typelist, const_tree funcdecl, const_tree val) in s390_invalid_arg_for_unprototyped_fn() argument
12144 && (funcdecl == NULL_TREE in s390_invalid_arg_for_unprototyped_fn()
12145 || (TREE_CODE (funcdecl) == FUNCTION_DECL in s390_invalid_arg_for_unprototyped_fn()
12146 && DECL_BUILT_IN_CLASS (funcdecl) != BUILT_IN_MD))) in s390_invalid_arg_for_unprototyped_fn()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/rs6000/
H A Drs6000.cc23899 invalid_arg_for_unprototyped_fn (const_tree typelist, const_tree funcdecl, const_tree val) in invalid_arg_for_unprototyped_fn() argument
23904 && (funcdecl == NULL_TREE in invalid_arg_for_unprototyped_fn()
23905 || (TREE_CODE (funcdecl) == FUNCTION_DECL in invalid_arg_for_unprototyped_fn()
23906 && DECL_BUILT_IN_CLASS (funcdecl) != BUILT_IN_MD))) in invalid_arg_for_unprototyped_fn()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/rs6000/
H A Drs6000.c23226 invalid_arg_for_unprototyped_fn (const_tree typelist, const_tree funcdecl, const_tree val) in invalid_arg_for_unprototyped_fn() argument
23231 && (funcdecl == NULL_TREE in invalid_arg_for_unprototyped_fn()
23232 || (TREE_CODE (funcdecl) == FUNCTION_DECL in invalid_arg_for_unprototyped_fn()
23233 && DECL_BUILT_IN_CLASS (funcdecl) != BUILT_IN_MD))) in invalid_arg_for_unprototyped_fn()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/doc/
H A Dtm.texi11979 …LID_ARG_FOR_UNPROTOTYPED_FN (const_tree @var{typelist}, const_tree @var{funcdecl}, const_tree @var…
11981 illegal to pass argument @var{val} to function @var{funcdecl}