MCPcopy Create free account
hub / github.com/andreasfertig/cppinsights / mkCompoundStmt

Function mkCompoundStmt

ASTHelpers.cpp:288–291  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

286//-----------------------------------------------------------------------------
287
288CompoundStmt* mkCompoundStmt(ArrayRef<Stmt*> bodyStmts, SourceLocation beginLoc, SourceLocation endLoc)
289{
290 return CompoundStmt::Create(GetGlobalAST(), bodyStmts, FPOptionsOverride{}, beginLoc, endLoc);
291}
292//-----------------------------------------------------------------------------
293
294IfStmt* If(const Expr* condition, ArrayRef<Stmt*> bodyStmts)

Callers 11

SetFunctionBodyFunction · 0.85
VisitCompoundStmtMethod · 0.85
InsertArgMethod · 0.85
CatchFunction · 0.85
IfFunction · 0.85
InsertArgMethod · 0.85
EmitGlobalVariableCtorsFunction · 0.85
InsertMethodBodyMethod · 0.85
InsertCXXMethodDeclMethod · 0.85
InsertArgMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected