GDB (xrefs)
|
#include "gdbtypes.h"
Public Attributes | |
short | rank |
short | subrank |
Struct used to store conversion rankings.
Definition at line 1743 of file gdbtypes.h.
short rank::rank |
Definition at line 1745 of file gdbtypes.h.
Referenced by compare_ranks(), and sum_ranks().
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().