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