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

Add renaming to c++ method params #779

Merged

Conversation

Walter-Reactor
Copy link
Contributor

I hit an issue with clang compilation when a method had a parameter that was a c++ keyword, so I've updated the formatter to rename params which conflict with the list of c++ keywords

@Walter-Reactor Walter-Reactor force-pushed the user/wgray/rename-cpp-params branch from 31bfcfc to f383467 Compare February 5, 2025 23:33
@Walter-Reactor Walter-Reactor force-pushed the user/wgray/rename-cpp-params branch from a8e411b to 6f5b576 Compare February 6, 2025 00:35
tool/Cargo.toml Outdated
@@ -21,11 +21,13 @@ clap = { features = ["color", "derive", "std", "suggestions"], version = "4.2" }
colored = "2.0"
serde = { features = ["derive"], version = "1.0.130" }
toml = "0.5.8"
heck = "0.4" # conversion between naming convention
heck = "0.4" # conversion between naming convention
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: unnecessary whitespace added

@Walter-Reactor
Copy link
Contributor Author

CI failure looks like a network outage

@Manishearth Manishearth merged commit ab1f80c into rust-diplomat:main Feb 6, 2025
21 checks passed
@Walter-Reactor Walter-Reactor deleted the user/wgray/rename-cpp-params branch February 7, 2025 00:21
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