| /netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/ |
| H A D | semantic3.d | 277 funcdecl.fbody = null; // remove fbody which contains the error in visit() 296 if (!funcdecl.fbody && funcdecl.inferRetType && !f.next) in visit() 310 if (funcdecl.fbody || funcdecl.frequires || needEnsure) in visit() 554 if (!funcdecl.fbody) in visit() 580 if (funcdecl.fbody) in visit() 602 funcdecl.fbody = funcdecl.fbody.statementSemantic(sc2); in visit() 603 if (!funcdecl.fbody) in visit() 604 funcdecl.fbody = new CompoundStatement(Loc.initial, new Statements()); in visit() 621 funcdecl.fbody = new ErrorStatement(); in visit() 629 if (funcdecl.returns && !funcdecl.fbody.isErrorStatement()) in visit() [all …]
|
| H A D | clone.d | 370 fop.fbody = new CompoundStatement(loc, s1, s2); in buildOpAssign() 390 fop.fbody = null; // remove fbody which contains the error in buildOpAssign() 586 fop.fbody = new ReturnStatement(loc, e); in buildXopEquals() 710 fop.fbody = new ReturnStatement(loc, e); in buildXopCmp() 839 fop.fbody = new CompileStatement(loc, new StringExp(loc, code)); in buildXtoHash() 876 …sCppPrototype = ad.userDtors.dim && ad.userDtors[0]._linkage == LINK.cpp && !ad.userDtors[0].fbody; in buildDtors() 963 dd.fbody = new ExpStatement(loc, e); in buildDtors() 1019 dd.fbody = new ExpStatement(loc, e); in buildDtors() 1087 func.fbody = new CompoundStatement(loc, stmts); in buildWindowsCppDtor() 1135 func.fbody = new ExpStatement(dtor.loc, call); in buildExternDDtor() [all …]
|
| H A D | func.d | 262 Statement fbody; /// function body variable 393 f.fbody = fbody ? fbody.syntaxCopy() : null; in syntaxCopy() 1252 return (visibility.kind == Visibility.Kind.export_) && !fbody; in isImportedSymbol() 1296 if (!fbody) in canInferAttributes() 2494 fd.fbody = frequire; in buildEnsureRequire() 2537 fd.fbody = fensure; in buildEnsureRequire() 3765 fbody.accept(w); in modifyReturns() 4149 …(D) this(const ref Loc loc, const ref Loc endloc, StorageClass stc, Identifier id, Statement fbody) in this() argument 4153 this.fbody = fbody; in this()
|
| H A D | transitivevisitor.d | 613 if (f.fbody) in ParseVisitMethods() 615 f.fbody.accept(this); in ParseVisitMethods() 836 AST.CompoundStatement cs = f.fbody.isCompoundStatement(); in ParseVisitMethods() 837 AST.Statement s = !cs ? f.fbody : null; in ParseVisitMethods()
|
| H A D | target.h | 209 bool libraryObjectMonitors(FuncDeclaration *fd, Statement *fbody);
|
| H A D | target.d | 284 extern (C++) bool libraryObjectMonitors(FuncDeclaration fd, Statement fbody);
|
| H A D | delegatize.d | 68 fld.fbody = s; in toDelegate()
|
| H A D | semantic2.d | 375 if (fd.fbody && fd.overnext && !fd.errors) in visit() 391 if (f2.fbody is null) in visit()
|
| H A D | dsymbolsem.d | 188 assert(!funcdecl.fbody); in allowsContractWithoutBody() 3302 if (funcdecl.isAbstract() && funcdecl.fbody) in funcDeclarationSemantic() 3378 if (funcdecl.fbody && funcdecl.isVirtual()) in funcDeclarationSemantic() 3869 if (!funcdecl.fbody && !funcdecl.allowsContractWithoutBody()) in funcDeclarationSemantic() 3929 if (funcdecl.fbody && sc._module.isRoot() && in funcDeclarationSemantic() 3933 if (funcdecl.fbody && funcdecl.isMain() && sc._module.isRoot()) in funcDeclarationSemantic() 4026 if (ctd.fbody || !(ctd.storage_class & STC.disable)) in visit() 4031 ctd.fbody = null; in visit() 4252 if (scd.fbody) in visit() 4253 sa.push(scd.fbody); in visit() [all …]
|
| H A D | lambdacomp.d | 166 ReturnStatement rs = fld.fbody.endsWithReturnStatement(); in visit()
|
| H A D | hdrgen.d | 1541 if (!f.fbody) in visit() 1624 …if (!f.fbody || (hgs.hdrgen && global.params.hdrStripPlainFunctions && !hgs.autoMember && !hgs.tpl… in bodyToBuffer() 1626 if (!f.fbody && (f.fensures || f.frequires)) in bodyToBuffer() 1650 f.fbody.statementToBuffer(buf, hgs); in bodyToBuffer() 1685 CompoundStatement cs = f.fbody.isCompoundStatement(); in visit() 1692 s1 = !cs ? f.fbody : null; in visit() 1762 if(auto es = d.fbody.isExpStatement()) in visit()
|
| H A D | dsymbol.d | 2567 if (fd.fbody && fd2.fbody) in handleSymbolRedeclarations() 2570 if (fd.fbody) // fd is the definition in handleSymbolRedeclarations()
|
| H A D | parse.d | 2621 auto fbody = new AST.ExpStatement(loc, e); 2622 auto f = new AST.InvariantDeclaration(loc, token.loc, stc, null, fbody); 2628 auto fbody = parseStatement(ParseStatementFlags.curly); variable 2629 auto f = new AST.InvariantDeclaration(loc, token.loc, stc, null, fbody); 2671 f.fbody = sbody; 2703 f.fbody = null; in version() 5042 fd.fbody = new AST.ReturnStatement(returnloc, ae); in parseFunctionLiteral() 5083 f.fbody = new AST.ReturnStatement(returnloc, parseExpression()); 5091 f.fbody = parseStatement(ParseStatementFlags.semi); 5110 f.fbody = parseStatement(ParseStatementFlags.curly); [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/ |
| H A D | func.c | 322 fbody = NULL; in FuncDeclaration() 379 f->fbody = fbody ? fbody->syntaxCopy() : NULL; in syntaxCopy() 392 if (!fd->fbody) in canInferAttributes() 772 if (fbody && isVirtual()) in semantic() 786 if (!fbody && (fensure || frequire) && !(id && isVirtual())) in semantic() 1221 if (fbody && isMain() && sc->_module->isRoot()) in semantic() 1298 fd->fbody = fdx->frequire; in buildEnsureRequire() 1331 fd->fbody = fdx->fensure; in buildEnsureRequire() 1392 fbody = NULL; // remove fbody which contains the error in semantic3() 1411 if (!fbody && inferRetType && !f->next) in semantic3() [all …]
|
| H A D | clone.c | 317 fop->fbody = new CompoundStatement(loc, s1, s2); in buildOpAssign() 339 fop->fbody = NULL; // remove fbody which contains the error in buildOpAssign() 546 fop->fbody = new ReturnStatement(loc, e); in buildXopEquals() 635 fop->fbody = new ReturnStatement(loc, e); in buildXopCmp() 759 fop->fbody = new CompileStatement(loc, new StringExp(loc, const_cast<char *>(code))); in buildXtoHash() 927 dd->fbody = (stc & STCdisable) ? NULL : new CompoundStatement(loc, a); in buildPostBlit() 962 dd->fbody = new ExpStatement(loc, e); in buildPostBlit() 1074 dd->fbody = new ExpStatement(loc, e); in buildDtor() 1110 dd->fbody = new ExpStatement(loc, e); in buildDtor() 1176 inv->fbody = new ExpStatement(loc, e); in buildInv()
|
| H A D | arrayop.c | 62 Statement *fbody = new CompoundStatement(Loc(), s1, s2); in buildArrayOp() local 72 fd->fbody = fbody; in buildArrayOp() 91 fd->fbody = NULL; in buildArrayOp()
|
| H A D | delegatize.c | 62 fld->fbody = s; in toDelegate()
|
| H A D | cond.c | 139 fd->fbody = s; in wrapAndCall()
|
| H A D | hdrgen.c | 1943 …if (!f->fbody || (hgs->hdrgen && global.params.hdrStripPlainFunctions && !hgs->autoMember && !hgs-… in bodyToBuffer() 1988 f->fbody->accept(this); in bodyToBuffer() 2017 CompoundStatement *cs = f->fbody->isCompoundStatement(); in visit() 2024 s1 = !cs ? f->fbody : NULL; in visit()
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/experimental/ |
| H A D | typecons.d | 314 enum fbody = "_wrap_source."~name; in generateFun() local 316 enum fbody = "_wrap_source."~name~" = a1"; in generateFun() local 320 … enum fbody = "_wrap_source."~name~"("~args!(Parameters!(TargetMembers[i].type).length)~")"; in generateFun() local 324 "{ return "~fbody~"; }"; in generateFun()
|
| /netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/experimental/ |
| H A D | typecons.d | 313 enum fbody = "_wrap_source."~name; in generateFun() local 315 enum fbody = "_wrap_source."~name~" = a1"; in generateFun() local 319 … enum fbody = "_wrap_source."~name~"("~args!(Parameters!(TargetMembers[i].type).length)~")"; in generateFun() local 323 "{ return "~fbody~"; }"; in generateFun()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/d/ |
| H A D | decl.cc | 153 if (decl->fbody) in get_fndecl_arguments() 537 if (!fd || (!fd->fbody && d->isAbstract ())) in finish_vtable() 640 if (fd && (fd->fbody || !d->isAbstract ())) in visit() 970 if (!d->fbody) in visit() 1113 if (!fd->fbody) in function_needs_inline_definition_p() 1253 if (fd->fbody) in get_symbol_decl()
|
| H A D | intrinsics.cc | 139 if (!decl->fbody) in maybe_set_intrinsic()
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/d/ |
| H A D | decl.cc | 435 if (!fd || (!fd->fbody && d->isAbstract ())) in finish_vtable() 553 if (fd && (fd->fbody || !d->isAbstract())) in visit() 860 if (!d->fbody) in visit() 1109 if (fd->fbody) in get_symbol_decl() 1785 if (decl->fbody) in make_thunk()
|
| H A D | intrinsics.cc | 136 if (!decl->fbody) in maybe_set_intrinsic()
|