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

Function AccessMember

CfrontCodeGenerator.cpp:33–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31//-----------------------------------------------------------------------------
32
33static MemberExpr* AccessMember(std::string_view name, const ValueDecl* vd, QualType type)
34{
35 auto* rhsDeclRef = mkVarDeclRefExpr(name, type);
36 auto* rhsMemberExpr = AccessMember(rhsDeclRef, vd);
37
38 return rhsMemberExpr;
39}
40//-----------------------------------------------------------------------------
41
42CfrontCodeGenerator::CfrontVtableData::CfrontVtableData()

Callers 3

InsertVtblPtrFunction · 0.70
InsertCXXMethodDeclMethod · 0.70
InsertArgMethod · 0.70

Calls 1

mkVarDeclRefExprFunction · 0.85

Tested by

no test coverage detected