parameters: (type_)
return_statement: return type_.unqualified()
docstring: Return the "basic" type of a type.
  
      Arguments:
          type_: The type to reduce to its basic type.
  
      Returns:
          type_ with const/volatile is stripped away,
          and typedefs/references converted to the underlying type.
docstring_summary: Return the "basic" type of a type.
docstring_tokens: Return the basic type of a type .
function: def get_basic_type(type_):
      """Return the "basic" type of a type.
  
      Arguments:
          type_: The type to reduce to its basic type.
  
      Returns:
          type_ with const/volatile is stripped away,
          and typedefs/references converted to the underlying type.
      """
  
      while (type_.code == gdb.TYPE_CODE_REF or
             type_.code == gdb.TYPE_CODE_TYPEDEF):
          if type_.code == gdb.TYPE_CODE_REF:
              type_ = type_.target()
          else:
              type_ = type_.strip_typedefs()
      return type_.unqualified()
function_tokens: def get_basic_type ( type_ ) : while ( type_ . code == gdb . TYPE_CODE_REF or type_ . code == gdb . TYPE_CODE_TYPEDEF ) : if type_ . code == gdb . TYPE_CODE_REF : type_ = type_ . target ( ) else : type_ = type_ . strip_typedefs ( ) return type_ . unqualified ( )