retdec
|
Sorts global variables according to the given conditions. More...
#include <global_vars_sorter.h>
Static Public Member Functions | |
static GlobalVarDefVector | sortByInterdependencies (const GlobalVarDefVector &globalVars) |
Sorts the given vector of global variables by their interdependencies. More... | |
Sorts global variables according to the given conditions.
This class implements the "static helper" (or "library") design pattern (it has just static functions and no instances can be created).
|
static |
Sorts the given vector of global variables by their interdependencies.
For example, if it contains the following two global variables
and
then they are ordered in this way because of their interdependencies.