Skip to content

clang-tidy: don't use modernize-use-constraints#10250

Merged
maliberty merged 1 commit into
The-OpenROAD-Project:masterfrom
hzeller:feature-20260424-no-use-constraitns
Apr 29, 2026
Merged

clang-tidy: don't use modernize-use-constraints#10250
maliberty merged 1 commit into
The-OpenROAD-Project:masterfrom
hzeller:feature-20260424-no-use-constraitns

Conversation

@hzeller

@hzeller hzeller commented Apr 24, 2026

Copy link
Copy Markdown
Collaborator

This check crashes clang-tidy on some files and
with the changes in #10185, that takes down the whole run-clang-tidy-cached.cc.

This check crashes `clang-tidy` on some files and
with the changes in The-OpenROAD-Project#10185, that takes down the whole
run-clang-tidy-cached.cc.

Signed-off-by: Henner Zeller <h.zeller@acm.org>

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request updates the .clang-tidy configuration by adding -modernize-use-constraints to the list of disabled checks. There are no review comments to address, and I have no further feedback to provide.

@github-actions

Copy link
Copy Markdown
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@maliberty

Copy link
Copy Markdown
Member

I've never observed this myself or in the CI. What version/platform are you observing this with?

@hzeller

hzeller commented Apr 24, 2026

Copy link
Copy Markdown
Collaborator Author

using the clang-tidy from the toolchain, running on ubuntu

@hzeller

hzeller commented Apr 29, 2026

Copy link
Copy Markdown
Collaborator Author

I still can't run the general clang-tidy because of the
(I am running it on 128 cores with 230GiB of RAM, but it does not seem to be a memory issue, just a genuine bug in the clang-tidy coming with the llvm toolchain that we download).

Given that we're not interested in using constraints anyway at this point, removing the buggy clang-tidy check looks like a good choice.

@maliberty maliberty merged commit 85ee6d7 into The-OpenROAD-Project:master Apr 29, 2026
17 checks passed
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