mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
7d235f4fd0
Also do some basic cleanup: capitalize first letters, add `.` at the end of the sentences, and so on.
23 lines
436 B
C++
23 lines
436 B
C++
// \file Registry.cpp
|
|
|
|
//
|
|
// 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
|