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

Function InitList

ASTHelpers.cpp:550–556  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

548//-----------------------------------------------------------------------------
549
550InitListExpr* InitList(ArrayRef<Expr*> initExprs, QualType t)
551{
552 auto* initList = new(GetGlobalAST()) InitListExpr(GetGlobalAST(), SourceLocation{}, initExprs, SourceLocation{});
553 initList->setType(t);
554
555 return initList;
556}
557//-----------------------------------------------------------------------------
558
559ArraySubscriptExpr* ArraySubscript(const Expr* lhs, uint64_t index, QualType type)

Callers 2

EmitGlobalVariableCtorsFunction · 0.85
InsertArgMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected