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

Improve BENCHMARK_UNUSED definition #1111

Merged
merged 1 commit into from
Apr 12, 2021
Merged

Conversation

dmah42
Copy link
Member

@dmah42 dmah42 commented Apr 9, 2021

Take advantage of C++17's [[maybe_unused]] if it's available. Also clang supports __attribute__((unused)) so add that too.

Take advantage of C++17's `[[maybe_unused]]` if it's available. Also clang supports `__attribute__((unused))` so add that too.
@google-cla google-cla bot added the cla: yes label Apr 9, 2021
@dmah42 dmah42 merged commit 39b5a29 into master Apr 12, 2021
@dmah42 dmah42 deleted the benchmark_unused_improved branch April 12, 2021 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants