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

Method InsertArg

CodeGenerator.cpp:309–320  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

307//-----------------------------------------------------------------------------
308
309void CodeGenerator::InsertArg(const CXXDependentScopeMemberExpr* stmt)
310{
311 if(not stmt->isImplicitAccess()) {
312 InsertArg(stmt->getBase());
313 } else {
314 InsertNamespace(stmt->getQualifier());
315 }
316
317 std::string_view op{ValueOrDefault(not stmt->isImplicitAccess(), ArrowOrDot(stmt->isArrow()))};
318
319 mOutputFormatHelper.Append(op, stmt->getMemberNameInfo().getAsString());
320}
321//-----------------------------------------------------------------------------
322
323void CodeGenerator::InsertArg(const CXXForRangeStmt* rangeForStmt)

Callers 10

TemporaryDeclFinderMethod · 0.45
EmitGlobalVariableCtorsFunction · 0.45
InsertCXXMethodHeaderMethod · 0.45
HandleLambdaExprMethod · 0.45
HandleTranslationUnitMethod · 0.45
InsertDtorCallMethod · 0.45
ReturnMethod · 0.45
GetNoExceptFunction · 0.45

Calls 15

ValueOrDefaultFunction · 0.85
ArrowOrDotFunction · 0.85
mkDeclStmtFunction · 0.85
mkCompoundStmtFunction · 0.85
AssignFunction · 0.85
StrCatFunction · 0.85
BuildRetTypeNameFunction · 0.85
GetNameFunction · 0.85
IsReferenceTypeFunction · 0.85
GetTypeFunction · 0.85

Tested by

no test coverage detected