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
Comment out unused parameters #2075
base: master
Are you sure you want to change the base?
Conversation
Sorry, I'm not going to merge anything C++17 anytime soon. C++11 is okay, though. We need to be intentionally very conservative with support. |
The attribute is not effective unless |
Good call. I think the fallback case should be to use nothing. (evaluate Besides An unused variable shouldn't be named in the first place. |
[[maybe_unused]]
attribute (C++17) and specify -Wunused-variable
The original motivation is to replace |
Now the unused parameters are commented out as far as clang-tidy does. |
No description provided.