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

Function ArraySubscript

ASTHelpers.cpp:559–563  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

557//-----------------------------------------------------------------------------
558
559ArraySubscriptExpr* ArraySubscript(const Expr* lhs, uint64_t index, QualType type)
560{
561 return new(GetGlobalAST()) ArraySubscriptExpr(
562 const_cast<Expr*>(lhs), Int32(index), type, ExprValueKind::VK_LValue, ExprObjectKind::OK_Ordinary, {});
563}
564//-----------------------------------------------------------------------------
565
566params_vector to_params_view(params_store& params)

Callers 3

InsertDtorCallMethod · 0.85
InsertArgMethod · 0.85
InsertVtblPtrFunction · 0.85

Calls 1

Int32Function · 0.85

Tested by

no test coverage detected