diff options
author | Thomas Lively <tlively@google.com> | 2024-09-06 17:57:18 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-07 00:57:18 +0000 |
commit | 7e117284029bfbfc2b638caa53335e1b2c53490e (patch) | |
tree | d4d8d3ef4b7ec2f26982295546b6509fa65d30d9 /src/support | |
parent | 2d70ee0d1d2620a676bdf82779187cf0ee5bd0cf (diff) | |
download | binaryen-7e117284029bfbfc2b638caa53335e1b2c53490e.tar.gz binaryen-7e117284029bfbfc2b638caa53335e1b2c53490e.tar.bz2 binaryen-7e117284029bfbfc2b638caa53335e1b2c53490e.zip |
[NFC] Rename topological_orders.h to topological_sort.h (#6915)
Now that the header includes topological sort utilities in addition to
the utility that iterates over all topological orders, it makes more
sense for it to be named topological_sort.h
Diffstat (limited to 'src/support')
-rw-r--r-- | src/support/topological_sort.h (renamed from src/support/topological_orders.h) | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/support/topological_orders.h b/src/support/topological_sort.h index bc6609ae0..b75f6b78d 100644 --- a/src/support/topological_orders.h +++ b/src/support/topological_sort.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef wasm_support_topological_orders_h -#define wasm_support_topological_orders_h +#ifndef wasm_support_topological_sort_h +#define wasm_support_topological_sort_h #include <algorithm> #include <cassert> @@ -300,4 +300,4 @@ template<typename Cmp> std::vector<Index> minSort(const Graph& graph, Cmp cmp) { } // namespace wasm -#endif // wasm_support_topological_orders_h +#endif // wasm_support_topological_sort_h |