I’m using the clang tidy readability-input-naming rules in a project. However, there is a need to be able to specify an optional prefix for some functions:
// Current rule:
void DoSomething(void);
// What I need:
void Win32_DoSomething(void);
void Linux_DoSomething(void);
I could use the ignore regex, but that would remove all checking for the remaining function name definition.
Is it possible to have an optional prefix?
1