libabigail
|
A functor to sort decls somewhat topologically. That is, types are sorted in a way that makes the ones that are defined "first" to come first. More...
#include <abg-ir-priv.h>
Public Member Functions | |
bool | operator() (const decl_base *f, const decl_base *s) |
The "Less Than" comparison operator of this functor. More... | |
bool | operator() (const decl_base_sptr &f, const decl_base_sptr &s) |
The "Less Than" comparison operator of this functor. More... | |
A functor to sort decls somewhat topologically. That is, types are sorted in a way that makes the ones that are defined "first" to come first.
The topological criteria is a lexicographic sort of the definition location of the type. For types that have no location (or the same location), it's their qualified name that is used for the lexicographic sort.
Definition at line 1305 of file abg-ir-priv.h.
The "Less Than" comparison operator of this functor.
f | the first decl to be considered for the comparison. |
s | the second decl to be considered for the comparison. |
f
is less than s
. Definition at line 1316 of file abg-ir-priv.h.
|
inline |
The "Less Than" comparison operator of this functor.
f | the first decl to be considered for the comparison. |
s | the second decl to be considered for the comparison. |
f
is less than s
. Definition at line 1372 of file abg-ir-priv.h.