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

Function Call

ASTHelpers.cpp:117–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115//-----------------------------------------------------------------------------
116
117CallExpr* Call(const FunctionDecl* fd, ArrayRef<Expr*> params)
118{
119 return CallExpr::Create(GetGlobalAST(), mkDeclRefExpr(fd), params, fd->getType(), VK_LValue, {}, {});
120}
121//-----------------------------------------------------------------------------
122
123CallExpr* Call(MemberExpr* fd, ArrayRef<Expr*> params)

Callers 11

InsertCoroutineMethod · 0.70
InsertArgMethod · 0.70
CallConstructorFunction · 0.70
CallDestructorFunction · 0.70
InsertArgMethod · 0.70
InsertMethodBodyMethod · 0.70
CallVecDeleteOrDtorFunction · 0.70
InsertArgMethod · 0.70
CallVecNewOrCtorFunction · 0.70
InsertCXXMethodDeclMethod · 0.70

Calls 4

mkDeclRefExprFunction · 0.85
FunctionFunction · 0.85
VoidTyFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected