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

Function AccessMember

ASTHelpers.cpp:319–328  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

317//-----------------------------------------------------------------------------
318
319MemberExpr* AccessMember(const Expr* expr, const ValueDecl* vd, bool isArrow)
320{
321 return MemberExpr::CreateImplicit(GetGlobalAST(),
322 const_cast<Expr*>(expr),
323 isArrow,
324 const_cast<ValueDecl*>(vd),
325 vd->getType().getNonReferenceType(),
326 VK_LValue,
327 OK_Ordinary);
328}
329//-----------------------------------------------------------------------------
330
331BinaryOperator* Equal(Expr* var, Expr* assignExpr)

Callers 8

VisitDeclStmtMethod · 0.70
VisitCXXThisExprMethod · 0.70
InsertCoroutineMethod · 0.70
InsertArgMethod · 0.70
AssignFunction · 0.70
CallConstructorFunction · 0.70
InsertDtorCallMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected