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

PS-9504 [8.0]: Replace MY_NODISCARD with [[nodiscard]] #5489

Merged
merged 1 commit into from
Nov 19, 2024

Conversation

inikep
Copy link
Collaborator

@inikep inikep commented Nov 18, 2024

We require at least gcc 7.1 or clang 5 for compilation which both support [[nodiscard]]. MY_NODISCARD is no longer needed.

Copy link
Collaborator

@percona-ysorokin percona-ysorokin left a comment

Choose a reason for hiding this comment

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

LGTM

We require at least gcc 7.1 or clang 5 for compilation which both support `[[nodiscard]]`.
`MY_NODISCARD` is no longer needed.
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

⚠️ Clang-Tidy found issue(s) with the introduced code (1/1)

sql/handler.h Show resolved Hide resolved
sql/handler.h Show resolved Hide resolved
storage/tokudb/ha_tokudb.h Show resolved Hide resolved
storage/tokudb/ha_tokudb.h Show resolved Hide resolved
@inikep inikep merged commit 9a76f63 into percona:8.0 Nov 19, 2024
26 of 27 checks passed
@inikep inikep deleted the PS-9504-8.0 branch November 19, 2024 08:27
@inikep inikep changed the title PS-9504: Replace MY_NODISCARD with [[nodiscard]] PS-9504 [8.0]: Replace MY_NODISCARD with [[nodiscard]] Nov 19, 2024
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