The member initializers of a constructor are written in another order than the members are declared, which is the order that runs

tx0/cpp:member-initializer-orderrecommendedwarningreliability/logicdepth fastbug

What it finds

Members are initialized in the order of their declarations in the class, whatever the order of the initializer list. When the list reads differently, an initializer that uses another member may read it before it has a value.

From the rule's source, member_initializer_order.rs.

Turn it on, off or suppress it

The rule runs from the recommended tier up. To turn it on in a lower tier, give it a level in tx0.toml:

tx0.toml
[rules]
"tx0/cpp:member-initializer-order" = "warning"

To keep one finding, suppress it with a reason. tx0 suppress ID --reason "..." writes the comment on the line before the code:

// tx0: ignore[tx0/cpp:member-initializer-order] reason="..."

tx0 explain tx0/cpp:member-initializer-order shows the same in the terminal. Found a false positive? Report it.