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

Function to_params_view

ASTHelpers.cpp:566–576  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

564//-----------------------------------------------------------------------------
565
566params_vector to_params_view(params_store& params)
567{
568 params_vector ret{};
569 ret.reserve(params.size());
570
571 for(const auto& [name, type] : params) {
572 ret.emplace_back(name, type);
573 }
574
575 return ret;
576}
577//-----------------------------------------------------------------------------
578
579DeclRefExpr* mkVarDeclRefExpr(std::string_view name, QualType type)

Callers 3

InsertCXXMethodDeclMethod · 0.85
InsertArgMethod · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected