code: def __remove_alias(type_):
      
      if isinstance(type_, cpptypes.declarated_t) and \
              isinstance(type_.declaration, typedef.typedef_t):
          return __remove_alias(type_.declaration.decl_type)
      if isinstance(type_, cpptypes.compound_t):
          type_.base = __remove_alias(type_.base)
          return type_
      return type_
docs: Implementation detail.
  
      Args:
          type_ (type_t): type
  
      Returns:
          type_t: the type associated to the inputted type