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

Function Goto

ASTHelpers.cpp:343–346  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

341//-----------------------------------------------------------------------------
342
343GotoStmt* Goto(std::string_view labelName)
344{
345 return new(GetGlobalAST()) GotoStmt(mkLabelDecl(labelName), {}, {});
346}
347//-----------------------------------------------------------------------------
348
349ParmVarDecl* Parameter(const FunctionDecl* fd, std::string_view name, QualType type)

Callers 3

VisitCompoundStmtMethod · 0.85
InsertArgMethod · 0.85
VisitContinueStmtMethod · 0.85

Calls 1

mkLabelDeclFunction · 0.85

Tested by

no test coverage detected