Lines Matching refs:fbody
277 funcdecl.fbody = null; // remove fbody which contains the error
296 if (!funcdecl.fbody && funcdecl.inferRetType && !f.next)
310 if (funcdecl.fbody || funcdecl.frequires || needEnsure)
554 if (!funcdecl.fbody)
580 if (funcdecl.fbody)
602 funcdecl.fbody = funcdecl.fbody.statementSemantic(sc2);
603 if (!funcdecl.fbody)
604 funcdecl.fbody = new CompoundStatement(Loc.initial, new Statements());
621 funcdecl.fbody = new ErrorStatement();
629 if (funcdecl.returns && !funcdecl.fbody.isErrorStatement())
659 if (funcdecl.fbody.isErrorStatement())
716 // Insert implicit super() at start of fbody
733 funcdecl.fbody = new CompoundStatement(Loc.initial, s, funcdecl.fbody);
756 const blockexit = funcdecl.fbody.blockExit(funcdecl, f.isnothrow);
775 if (funcdecl.fbody.isErrorStatement())
788 funcdecl.fbody = new CompoundStatement(funcdecl.loc, funcdecl.fbody, s);
799 funcdecl.fbody = new CompoundStatement(Loc.initial, funcdecl.fbody, s);
960 nw.visitStmt(funcdecl.fbody);
1040 if (funcdecl.fbody && funcdecl.fbody.isErrorStatement())
1100 if (funcdecl.fbody)
1101 a.push(funcdecl.fbody);
1216 if (funcdecl.fbody || funcdecl.allowsContractWithoutBody())
1217 funcdecl.fbody = sbody;
1362 if (global.params.useDIP1021 && funcdecl.fbody && funcdecl.type.ty != Terror &&
1373 if ((global.errors != oldErrors) || (funcdecl.fbody && funcdecl.fbody.isErrorStatement()))
1385 //printf("CtorDeclaration()\n%s\n", ctor.fbody.toChars());
1399 if (!ctor.fbody || !ad || !ad.fieldDtor || !global.params.dtorFields || global.params.betterC || ctor.type.toTypeFunction.isnothrow)
1445 * try { ctor.fbody; }
1450 * the try-catch can be removed if ctor.fbody is nothrow. (nothrow only
1461 ctor.fbody = new TryCatchStatement(ctor.loc, ctor.fbody, catches);
1471 ctor.fbody = new CompoundStatement(ctor.loc, s, ctor.fbody);
1592 if (fdv.fbody && !fdv.frequires)