mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
21 lines
413 B
C++
21 lines
413 B
C++
//
|
|
// This file is distributed under the MIT License. See LICENSE.md for details.
|
|
//
|
|
|
|
#include "revng/Pipeline/KindsRegistry.h"
|
|
#include "revng/Pipeline/Registry.h"
|
|
|
|
namespace pipeline {
|
|
|
|
KindsRegistry Registry::registerAllKinds() {
|
|
KindsRegistry Registry;
|
|
for (const auto &Reg : getInstances())
|
|
Reg->registerKinds(Registry);
|
|
|
|
Kind::init();
|
|
Rank::init();
|
|
return Registry;
|
|
}
|
|
|
|
} // namespace pipeline
|