@@ -367,7 +367,7 @@ public virtual bool VisitParameterDecl(Parameter parameter)
367
367
368
368
public virtual bool VisitTypedefNameDecl ( TypedefNameDecl typedef )
369
369
{
370
- throw new NotImplementedException ( ) ;
370
+ return typedef . Type . Visit ( this , typedef . QualifiedType . Qualifiers ) ;
371
371
}
372
372
373
373
public virtual bool VisitTypedefDecl ( TypedefDecl typedef )
@@ -499,7 +499,10 @@ public virtual bool VisitFunctionType(FunctionType function, TypeQualifiers qual
499
499
500
500
public virtual bool VisitPointerType ( PointerType pointer , TypeQualifiers quals )
501
501
{
502
- throw new NotImplementedException ( ) ;
502
+ if ( pointer . Pointee == null )
503
+ return false ;
504
+
505
+ return pointer . QualifiedPointee . Visit ( this ) ;
503
506
}
504
507
505
508
public virtual bool VisitMemberPointerType ( MemberPointerType member , TypeQualifiers quals )
@@ -509,12 +512,12 @@ public virtual bool VisitMemberPointerType(MemberPointerType member, TypeQualifi
509
512
510
513
public virtual bool VisitBuiltinType ( BuiltinType builtin , TypeQualifiers quals )
511
514
{
512
- throw new NotImplementedException ( ) ;
515
+ return VisitPrimitiveType ( builtin . Type , quals ) ;
513
516
}
514
517
515
518
public virtual bool VisitTypedefType ( TypedefType typedef , TypeQualifiers quals )
516
519
{
517
- throw new NotImplementedException ( ) ;
520
+ return typedef . Declaration . Visit ( this ) ;
518
521
}
519
522
520
523
public virtual bool VisitAttributedType ( AttributedType attributed , TypeQualifiers quals )
@@ -599,7 +602,7 @@ public virtual bool VisitUnsupportedType(UnsupportedType type, TypeQualifiers qu
599
602
600
603
public virtual bool VisitQualifiedType ( QualifiedType type )
601
604
{
602
- throw new NotImplementedException ( ) ;
605
+ return type . Type . Visit ( this , type . Qualifiers ) ;
603
606
}
604
607
605
608
public virtual bool VisitStmt ( Stmt stmt )
0 commit comments