clang-tidy doesn't have separate rules for prefixing members of class or struct. Technically, struct and class are the same, differing only in their default access levels. If a struct has private members or a class has public members, they function identically. This is why clang-tidy applies the same rules to both.