File tree Expand file tree Collapse file tree 1 file changed +0
-26
lines changed
cpp/common/src/codingstandards/cpp/types Expand file tree Collapse file tree 1 file changed +0
-26
lines changed Original file line number Diff line number Diff line change @@ -522,29 +522,3 @@ module FunctionDeclarationTypeEquivalence<
522522 .getType ( ) , f2 .getParameterDeclarationEntry ( pragma [ only_bind_into ] ( i ) ) .getType ( ) )
523523 }
524524}
525-
526- /**
527- * Convenience class to reduce the awkwardness of how `RoutineType` and `FunctionPointerIshType`
528- * don't have a common ancestor.
529- */
530- private class FunctionType extends Type {
531- FunctionType ( ) { this instanceof RoutineType or this instanceof FunctionPointerIshType }
532-
533- Type getReturnType ( ) {
534- result = this .( RoutineType ) .getReturnType ( ) or
535- result = this .( FunctionPointerIshType ) .getReturnType ( )
536- }
537-
538- Type getParameterType ( int i ) {
539- result = this .( RoutineType ) .getParameterType ( i ) or
540- result = this .( FunctionPointerIshType ) .getParameterType ( i )
541- }
542- }
543-
544- private class LeafType extends Type {
545- LeafType ( ) {
546- not this instanceof DerivedType and
547- not this instanceof FunctionType and
548- not this instanceof FunctionType
549- }
550- }
You can’t perform that action at this time.
0 commit comments