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

fix(ci): run clang-tidy with extra-args -std=c++20 #1150

Merged
merged 1 commit into from
Nov 27, 2023

Conversation

wdconinc
Copy link
Contributor

Briefly, what does this PR introduce?

This should address the clang-tidy issues on main (and likely soon in a PR). clang-tidy runs without errors in my local eic-shell test setup now.

I considered adding the logic to allow the builds to be against a variable that encodes the C++ standard, but that quickly ran out of hand (see discussion on doing this for compilers). With one standard every three years, I think it's reasonable to deal with this as we go. We only support C++20 now anyway.

What kind of change does this PR introduce?

Please check if this PR fulfills the following:

  • Tests for the changes have been added
  • Documentation has been added / updated
  • Changes have been communicated to collaborators

Does this PR introduce breaking changes? What changes might users need to make to their code?

No.

Does this PR change default behavior?

No.

@wdconinc wdconinc linked an issue Nov 25, 2023 that may be closed by this pull request
@wdconinc wdconinc force-pushed the 1149-ci-clang-tidy-iwyu-fails-on-main-due-to-std++17 branch from f241d96 to f9e1691 Compare November 25, 2023 01:50
@wdconinc wdconinc enabled auto-merge November 25, 2023 01:50
@wdconinc wdconinc requested a review from veprbl November 25, 2023 01:51
@wdconinc wdconinc added this pull request to the merge queue Nov 27, 2023
Merged via the queue into main with commit 4c362b1 Nov 27, 2023
@wdconinc wdconinc deleted the 1149-ci-clang-tidy-iwyu-fails-on-main-due-to-std++17 branch November 27, 2023 02:20
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.

CI clang-tidy-iwyu fails on main due to std++17
2 participants