Skip to content

Commit 21ec932

Browse files
committed
Implement a few overloads in CppTypePrinter that trigger the type maps checking code.
1 parent 15efafb commit 21ec932

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Generator/Generators/C/CppTypePrinter.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -590,12 +590,12 @@ public override TypePrinterResult VisitNonTypeTemplateParameterDecl(
590590

591591
public override TypePrinterResult VisitTypedefNameDecl(TypedefNameDecl typedef)
592592
{
593-
throw new NotImplementedException();
593+
return VisitDeclaration(typedef);
594594
}
595595

596596
public override TypePrinterResult VisitTypeAliasTemplateDecl(TypeAliasTemplate typeAliasTemplate)
597597
{
598-
throw new NotImplementedException();
598+
return VisitDeclaration(typeAliasTemplate);
599599
}
600600

601601
public override TypePrinterResult VisitFunctionTemplateSpecializationDecl(
@@ -612,7 +612,7 @@ public override TypePrinterResult VisitVarTemplateDecl(VarTemplate template)
612612
public override TypePrinterResult VisitVarTemplateSpecializationDecl(
613613
VarTemplateSpecialization template)
614614
{
615-
throw new NotImplementedException();
615+
return VisitDeclaration(template);
616616
}
617617

618618
private string GetStringQuals(TypeQualifiers quals, bool appendSpace = true)

0 commit comments

Comments
 (0)