| 4581 | //----------------------------------------------------------------------------- |
| 4582 | |
| 4583 | void 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 | |
| 4595 | void CodeGenerator::InsertTemplateArgs(const ClassTemplateSpecializationDecl& clsTemplateSpe) |