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

Method VtblPtrField

CfrontCodeGenerator.cpp:67–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65//-----------------------------------------------------------------------------
66
67FieldDecl* CfrontCodeGenerator::CfrontVtableData::VtblPtrField(const CXXRecordDecl* parent)
68{
69 return mkFieldDecl(const_cast<CXXRecordDecl*>(parent), StrCat("__vptr"sv, GetName(*parent)), Ptr(vtableRecordType));
70}
71//-----------------------------------------------------------------------------
72
73CfrontCodeGenerator::CfrontVtableData& CfrontCodeGenerator::VtableData()

Callers 3

InsertVtblPtrFunction · 0.80
ProcessFieldsFunction · 0.80
InsertArgMethod · 0.80

Calls 4

mkFieldDeclFunction · 0.85
StrCatFunction · 0.85
GetNameFunction · 0.85
PtrFunction · 0.85

Tested by

no test coverage detected