This commit revises locop to use FixedArity mix-in instead of deprecated
FixedArityNode class.
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
// This test shows how to compose two node summary builders.
TEST(LinearV1FormatterTest, node_summary_builder_composition)
{
- struct MyNode : public loco::FixedArityNode<0, loco::Node>
+ struct MyNode : public loco::FixedArity<0>::Mixin<loco::Node>
{
uint32_t opnum(void) const final { return 0; }
const loco::Dialect *dialect(void) const final { return nullptr; };