GDB (xrefs)
Loading...
Searching...
No Matches
Public Attributes | List of all members
rank Struct Reference

#include "gdbtypes.h"

Public Attributes

short rank
 
short subrank
 

Detailed Description

Struct used to store conversion rankings.

Definition at line 1743 of file gdbtypes.h.

Member Data Documentation

◆ rank

short rank::rank

Definition at line 1745 of file gdbtypes.h.

Referenced by compare_ranks(), and sum_ranks().

◆ subrank

short rank::subrank

When two conversions are of the same type and therefore have the same rank, subrank is used to differentiate the two.

Eg: Two derived-class-pointer to base-class-pointer conversions would both have base pointer conversion rank, but the conversion with the shorter distance to the ancestor is preferable. 'subrank' would be used to reflect that.

Definition at line 1755 of file gdbtypes.h.

Referenced by compare_ranks(), rank_one_type(), rank_one_type_parm_ptr(), rank_one_type_parm_struct(), and sum_ranks().


The documentation for this struct was generated from the following file: