A declared name or macro starts with two underscores or an underscore and a capital letter, which the implementation reserves

tx0/cpp:reserved-identifierstrictnotestyle/namingdepth fastsmell

What it finds

Names that contain __ or start with _ and a capital letter are reserved for the compiler and the standard library in every scope; one's own declarations or macros with such names, include guards among them, may clash with theirs.

From the rule's source, reserved_identifier.rs.

Turn it on, off or suppress it

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

tx0.toml
[rules]
"tx0/cpp:reserved-identifier" = "note"

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:reserved-identifier] reason="..."

tx0 explain tx0/cpp:reserved-identifier shows the same in the terminal. Found a false positive? Report it.