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

Function mkVarDeclRefExpr

ASTHelpers.cpp:579–585  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

577//-----------------------------------------------------------------------------
578
579DeclRefExpr* mkVarDeclRefExpr(std::string_view name, QualType type)
580{
581 auto* internalThisVar = Variable(name, type);
582 auto* declRef = mkDeclRefExpr(internalThisVar);
583
584 return declRef;
585}
586//-----------------------------------------------------------------------------
587
588static CallExpr* CallConstructor(QualType ctorType,

Callers 5

InsertCoroutineMethod · 0.85
CallConstructorFunction · 0.85
AccessMemberFunction · 0.85
InsertCXXMethodDeclMethod · 0.85
InsertArgMethod · 0.85

Calls 2

VariableFunction · 0.85
mkDeclRefExprFunction · 0.85

Tested by

no test coverage detected