Home
last modified time | relevance | path

Searched refs:CompoundStatement (Results 1 – 25 of 45) sorted by relevance

12

/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Dstatement.c222 void visit(CompoundStatement *) {} in hasCode()
367 return new CompoundStatement(loc, statements); in toStatement()
385 result = new CompoundStatement(tm->loc, a); in toStatement()
534 CompoundStatement::CompoundStatement(Loc loc, Statements *s) in CompoundStatement() function
540 CompoundStatement::CompoundStatement(Loc loc, Statement *s1, Statement *s2) in CompoundStatement() function
549 CompoundStatement::CompoundStatement(Loc loc, Statement *s1) in CompoundStatement() function
556 CompoundStatement *CompoundStatement::create(Loc loc, Statement *s1, Statement *s2) in create()
558 return new CompoundStatement(loc, s1, s2); in create()
561 Statement *CompoundStatement::syntaxCopy() in syntaxCopy()
570 return new CompoundStatement(loc, a); in syntaxCopy()
[all …]
H A Dstatement.h34 class CompoundStatement; variable
97 virtual CompoundStatement *isCompoundStatement() { return NULL; } in isCompoundStatement()
175 class CompoundStatement : public Statement
180 CompoundStatement(Loc loc, Statements *s);
181 CompoundStatement(Loc loc, Statement *s1);
182 CompoundStatement(Loc loc, Statement *s1, Statement *s2);
183 static CompoundStatement *create(Loc loc, Statement *s1, Statement *s2);
189 CompoundStatement *isCompoundStatement() { return this; } in isCompoundStatement()
193 class CompoundDeclarationStatement : public CompoundStatement
761 class CompoundAsmStatement : public CompoundStatement
H A Dstatementsem.c123 Statement *s = new CompoundStatement(cs->loc, a); in visit()
127 void visit(CompoundStatement *cs) in visit()
179 Statement *body = new CompoundStatement(Loc(), a); in visit()
189 handler = new CompoundStatement(Loc(), handler, ts); in visit()
225 Statement *body = new CompoundStatement(Loc(), a); in visit()
318 ss->statement = new CompoundStatement(ss->loc, a); in visit()
342 ss->statement = new CompoundStatement(ss->loc, ss->statement, sfinally); in visit()
433 Statement *s = new CompoundStatement(fs->loc, ainit); in visit()
719 fwdstmt = new CompoundStatement(loc, stmts); in makeTupleForeachBody()
833 result = new CompoundStatement(loc, statements); in makeTupleForeachStatic()
[all …]
H A Dfunc.c75 void visit(CompoundStatement *s) in visit()
86 void visit(CompoundDeclarationStatement *s) { visit((CompoundStatement *)s); } in visit()
237 s1 = new CompoundStatement(s->loc, new ExpStatement(s->loc, s->exp), gs); in visit()
278 handler = new CompoundStatement(Loc(), handler, ts); in visit()
1302 fdx->frequire = new CompoundStatement(loc, s1, s2); in buildEnsureRequire()
1338 fdx->fensure = new CompoundStatement(loc, s1, s2); in buildEnsureRequire()
1714 fbody = new CompoundStatement(Loc(), new Statements()); in semantic3()
1844 fbody = new CompoundStatement(Loc(), s, fbody); in semantic3()
1893 fbody = new CompoundStatement(loc, fbody, s); in semantic3()
1904 fbody = new CompoundStatement(Loc(), fbody, s); in semantic3()
[all …]
H A Dcond.c312 s1->push(createForeach(sfe, aloc, pparams[0], new CompoundStatement(aloc, sfebody))); in lowerNonArrayAggregate()
314 Type *ety = new TypeTypeof(aloc, wrapAndCall(aloc, new CompoundStatement(aloc, s1))); in lowerNonArrayAggregate()
369 aggr = wrapAndCall(aloc, new CompoundStatement(aloc, s2)); in lowerNonArrayAggregate()
H A Dsapply.c56 void visit(CompoundStatement *s) in visit()
H A Dvisitor.h20 class CompoundStatement; variable
314 virtual void visit(CompoundStatement *s) { visit((Statement *)s); } in visit()
315 virtual void visit(CompoundDeclarationStatement *s) { visit((CompoundStatement *)s); } in visit()
351 virtual void visit(CompoundAsmStatement *s) { visit((CompoundStatement *)s); } in visit()
H A Dblockexit.c76 void visit(CompoundStatement *cs) in blockExit()
/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/
H A Dstatement.h30 class CompoundStatement; variable
132CompoundStatement *isCompoundStatement() { return stmt == STMTcompound ? (CompoundStateme… in isCompoundStatement()
216 class CompoundStatement : public Statement
221 static CompoundStatement *create(const Loc &loc, Statement *s1, Statement *s2);
222 CompoundStatement *syntaxCopy();
229 class CompoundDeclarationStatement : public CompoundStatement
748 class CompoundAsmStatement : public CompoundStatement
H A Dstatementsem.d236 Statement s = new CompoundStatement(cs.loc, a); in package()
240 override void visit(CompoundStatement cs) in package()
332 Statement _body = new CompoundStatement(Loc.initial, a); in package()
342 handler = new CompoundStatement(Loc.initial, handler, ts); in package()
376 auto _body = new CompoundStatement(Loc.initial, a); in package()
472 ss.statement = new CompoundStatement(ss.loc, a); in package()
495 ss.statement = new CompoundStatement(ss.loc, ss.statement, sfinally); in package()
606 Statement s = new CompoundStatement(fs.loc, ainit); in package()
796 s = new CompoundStatement(loc, new ExpStatement(loc, vinit), s); in package()
1138 fs._body = new CompoundStatement(loc, new ExpStatement(loc, v), fs._body); in package()
[all …]
H A Dstatement_rewrite_walker.d49 override void visit(CompoundStatement s) in visit()
63 visit(cast(CompoundStatement)s); in visit()
H A Dsemantic3.d604 funcdecl.fbody = new CompoundStatement(Loc.initial, new Statements()); in visit()
733 funcdecl.fbody = new CompoundStatement(Loc.initial, s, funcdecl.fbody); in visit()
788 funcdecl.fbody = new CompoundStatement(funcdecl.loc, funcdecl.fbody, s); in visit()
799 funcdecl.fbody = new CompoundStatement(Loc.initial, funcdecl.fbody, s); in visit()
1095 freq = new CompoundStatement(Loc.initial, freq, fpreinv); in visit()
1108 fens = new CompoundStatement(Loc.initial, fpostinv, fens); in visit()
1134 Statement sbody = new CompoundStatement(Loc.initial, a); in visit()
1170 sbody = new CompoundStatement(Loc.initial, sbody, s); in visit()
1455 auto handler = new CompoundStatement(ctor.loc, ss, ts); in visit()
1471 ctor.fbody = new CompoundStatement(ctor.loc, s, ctor.fbody); in visit()
H A Dstatement.d307 override void visit(CompoundStatement s) in hasCode()
373 …inout(CompoundStatement) isCompoundStatement() { return stmt == STMT.Compound ? cast(type… in isCompoundStatement()
546 extern (C++) class CompoundStatement : Statement
587 static CompoundStatement create(const ref Loc loc, Statement s1, Statement s2) in create()
589 return new CompoundStatement(loc, s1, s2); in create()
592 override CompoundStatement syntaxCopy() in syntaxCopy()
594 return new CompoundStatement(loc, Statement.arraySyntaxCopy(statements)); in syntaxCopy()
634 extern (C++) final class CompoundDeclarationStatement : CompoundStatement
2010 extern (C++) final class CompoundAsmStatement : CompoundStatement
H A Dcond.d368 s1.push(createForeach(aloc, pparams[0], new CompoundStatement(aloc, sfe))); in lowerNonArrayAggregate()
370 Type ety = new TypeTypeof(aloc, wrapAndCall(aloc, new CompoundStatement(aloc, s1))); in lowerNonArrayAggregate()
424 aggr = wrapAndCall(aloc, new CompoundStatement(aloc, s2)); in lowerNonArrayAggregate()
H A Dsapply.d69 override void visit(CompoundStatement s) in visit()
H A Dvisitor.h20 class CompoundStatement; variable
423 virtual void visit(CompoundStatement *s) { visit((Statement *)s); } in visit()
426 virtual void visit(CompoundDeclarationStatement *s) { visit((CompoundStatement *)s); } in visit()
427 virtual void visit(CompoundAsmStatement *s) { visit((CompoundStatement *)s); } in visit()
H A Dclone.d370 fop.fbody = new CompoundStatement(loc, s1, s2); in buildOpAssign()
1087 func.fbody = new CompoundStatement(loc, stmts); in buildWindowsCppDtor()
1321 …blitCalls.push(new ScopeGuardStatement(loc, TOK.onScopeFailure, new CompoundStatement(loc, dtors))… in buildPostBlit()
1414 dd.fbody = (stc & STC.disable) ? null : new CompoundStatement(loc, postblitCalls); in buildPostBlit()
1544 return new CompoundStatement(loc, s1); in generateCopyCtorBody()
H A Dfunc.d134 s1 = new CompoundStatement(s.loc, new ExpStatement(s.loc, s.exp), gs); in visit()
175 handler = new CompoundStatement(Loc.initial, handler, ts); in visit()
2356 Statement s3 = new CompoundStatement(loc, s2, fail); in mergeFrequireInclusivePreview()
2412 frequire = new CompoundStatement(loc, s); in buildEnsureRequire()
2437 … s.push(new ScopeStatement(rloc, new CompoundStatement(rloc, sdecl, r.ensure), rloc)); in buildEnsureRequire()
2444 fensure = new CompoundStatement(loc, s); in buildEnsureRequire()
2498 frequire = new CompoundStatement(loc, s1, s2); in buildEnsureRequire()
2541 fensure = new CompoundStatement(loc, s1, s2); in buildEnsureRequire()
2608 sf = new CompoundStatement(sf.loc, s2, sf); in mergeFensure()
H A Dparsetimevisitor.d129 void visit(AST.CompoundStatement s) { visit(cast(AST.Statement)s); } in ParseTimeVisitor()
132 void visit(AST.CompoundDeclarationStatement s) { visit(cast(AST.CompoundStatement)s); } in ParseTimeVisitor()
133 void visit(AST.CompoundAsmStatement s) { visit(cast(AST.CompoundStatement)s); } in ParseTimeVisitor()
H A Dforeachvar.d177 void visitCompound(CompoundStatement s) in foreachExpAndVar()
H A Dtransitivevisitor.d52 override void visit(AST.CompoundStatement s) in ParseVisitMethods()
836 AST.CompoundStatement cs = f.fbody.isCompoundStatement(); in ParseVisitMethods()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Tooling/Syntax/
H A DNodes.h345 class CompoundStatement final : public Statement {
347 CompoundStatement() : Statement(NodeKind::CompoundStatement) {} in CompoundStatement() function
/netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/Syntax/
H A DNodes.cpp330 syntax::Leaf *syntax::CompoundStatement::getLbrace() { in getLbrace()
334 std::vector<syntax::Statement *> syntax::CompoundStatement::getStatements() { in getStatements()
343 syntax::Leaf *syntax::CompoundStatement::getRbrace() { in getRbrace()
H A DMutations.cpp84 if (isa<CompoundStatement>(S->getParent())) { in removeStatement()
H A DSynthesis.cpp136 case syntax::NodeKind::CompoundStatement: in allocateTree()
137 return new (A.getAllocator()) syntax::CompoundStatement; in allocateTree()

12