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

Method InsertSuffix

CodeGenerator.cpp:4583–4592  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4581//-----------------------------------------------------------------------------
4582
4583void CodeGenerator::InsertSuffix(const QualType& type)
4584{
4585 if(const auto* typePtr = type.getTypePtrOrNull(); typePtr and typePtr->isBuiltinType()) {
4586 if(const auto* bt = dyn_cast_or_null<BuiltinType>(typePtr)) {
4587 const auto kind = bt->getKind();
4588
4589 mOutputFormatHelper.Append(GetBuiltinTypeSuffix(kind));
4590 }
4591 }
4592}
4593//-----------------------------------------------------------------------------
4594
4595void CodeGenerator::InsertTemplateArgs(const ClassTemplateSpecializationDecl& clsTemplateSpe)

Callers

nothing calls this directly

Calls 1

AppendMethod · 0.80

Tested by

no test coverage detected