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

clang-tidy: Apply fixes "readability-avoid-const-params-in-decls" #3084

Conversation

mspang
Copy link
Contributor

@mspang mspang commented Oct 6, 2020

Problem

Declaring parameters const has no effect in a declaration.

Summary of Changes

Remove const params in declarations.

@bzbarsky-apple
Copy link
Contributor

Declaring parameters const has no effect in a declaration.

For parameters passed by value, specifically.

@bzbarsky-apple bzbarsky-apple merged commit 8a532d6 into project-chip:master Oct 6, 2020
@mspang mspang deleted the for-chip/clang-tidy-readability-avoid-const-params-in-decls branch October 7, 2020 05:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants