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

Method InsertQualifierAndName

CodeGenerator.cpp:385–392  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

383//-----------------------------------------------------------------------------
384
385void CodeGenerator::InsertQualifierAndName(const DeclarationName& declName,
386 const NestedNameSpecifier* qualifier,
387 const bool hasTemplateKeyword)
388{
389 mOutputFormatHelper.Append(ScopeHandler::RemoveCurrentScope(GetNestedName(qualifier)),
390 ValueOrDefault(hasTemplateKeyword, kwTemplateSpace),
391 declName.getAsString());
392}
393//-----------------------------------------------------------------------------
394
395void CodeGenerator::InsertNamespace(const NestedNameSpecifier* stmt)

Callers

nothing calls this directly

Calls 3

GetNestedNameFunction · 0.85
ValueOrDefaultFunction · 0.85
AppendMethod · 0.80

Tested by

no test coverage detected