retdec
struct_types_sorter.h
Go to the documentation of this file.
1 
7 #ifndef RETDEC_LLVMIR2HLL_SUPPORT_STRUCT_TYPES_SORTER_H
8 #define RETDEC_LLVMIR2HLL_SUPPORT_STRUCT_TYPES_SORTER_H
9 
10 #include <vector>
11 
15 
16 namespace retdec {
17 namespace llvmir2hll {
18 
26 public:
27  static StructTypeVector sort(const StructTypeSet &types);
28 };
29 
30 } // namespace llvmir2hll
31 } // namespace retdec
32 
33 #endif
Sorts structured types according to their names and dependencies.
Definition: struct_types_sorter.h:25
static StructTypeVector sort(const StructTypeSet &types)
Sorts the given set of structured types according to their names and dependencies.
Definition: struct_types_sorter.cpp:168
A mixin to make classes non-copyable.
Definition: non_copyable.h:27
A library providing API for working with back-end IR.
std::vector< ShPtr< StructType > > StructTypeVector
Vector of structured types.
Definition: types.h:111
std::set< ShPtr< StructType > > StructTypeSet
Set of structured types.
Definition: types.h:66
Definition: archive_wrapper.h:19
A mixin to make classes non-copyable.
Declarations, aliases, macros, etc. for the use of smart pointers.
Aliases for several useful types.