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

Function CallVecCtor

CfrontCodeGenerator.cpp:289–295  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

287//-----------------------------------------------------------------------------
288
289static auto*
290CallVecCtor(std::string_view ctorName, const VarDecl* objectParam, QualType allocatedType, Expr* arraySizeExpr)
291{
292 EnableGlobalInsert(GlobalInserts::FuncCxaVecCtor);
293
294 return CallVecNewOrCtor(ctorName, mkDeclRefExpr(objectParam), allocatedType, arraySizeExpr, "__cxa_vec_ctor"sv);
295}
296//-----------------------------------------------------------------------------
297
298void CfrontCodeGenerator::InsertArg(const CXXNewExpr* cstmt)

Callers 1

InsertArgMethod · 0.85

Calls 3

EnableGlobalInsertFunction · 0.85
CallVecNewOrCtorFunction · 0.85
mkDeclRefExprFunction · 0.85

Tested by

no test coverage detected