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

Function CreateFunctionDecl

ASTHelpers.cpp:222–225  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

220//-----------------------------------------------------------------------------
221
222static FunctionDecl* CreateFunctionDecl(std::string_view funcName, params_vector params)
223{
224 return Function(funcName, VoidTy(), params);
225}
226//-----------------------------------------------------------------------------
227
228CXXStaticCastExpr* CastToVoidFunPtr(std::string_view name)

Callers 3

CastToVoidFunPtrFunction · 0.85
CallConstructorFunction · 0.85
CallDestructorFunction · 0.85

Calls 2

FunctionFunction · 0.85
VoidTyFunction · 0.85

Tested by

no test coverage detected