Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enum naming styles #40

Merged
merged 5 commits into from
Apr 11, 2024
Merged

Enum naming styles #40

merged 5 commits into from
Apr 11, 2024

Conversation

Lipt0nas
Copy link
Member

No description provided.

…eclarations, default is `Google`

This was causing problems on Windows platforms if the enum names were one of the defined names like `ERROR`, `DEBUG`, `TRUE`, `FALSE` etc

Signed-off-by: Martynas Gurskas <[email protected]>
Use the other enum style to verify that compilation is successful

Signed-off-by: Martynas Gurskas <[email protected]>
@Lipt0nas Lipt0nas requested a review from arg0d April 11, 2024 12:31
Signed-off-by: Martynas Gurskas <[email protected]>
Copy link
Collaborator

@arg0d arg0d left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The config passing in filters is an eye sore, but I see no better way to implement this. Looks good otherwise. +2

@Lipt0nas Lipt0nas force-pushed the enum_naming_styles branch from fb5a8e1 to 8937246 Compare April 11, 2024 13:05
Signed-off-by: Martynas Gurskas <[email protected]>
@Lipt0nas Lipt0nas force-pushed the enum_naming_styles branch from 8937246 to 3a5b586 Compare April 11, 2024 13:08
@Lipt0nas Lipt0nas merged commit 8b30731 into main Apr 11, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants