Skip to content

Conversation

@boomanaiden154
Copy link
Contributor

We see a lot of warnings pop-up with a ToT clang toolchain (which is supposed to be warning-free for compiling LLVM sources) with assertions disabled due to local variables being used only in assertions. There does not seem to be existing CI coverage of this configuration since almost every bot seems to build with assertions enabled. While these warnings generally do not result in correctness issues, code generally ends up being cleaner/more clear when they are fixed, and they are low cost to fix. We want to add this configuration to empower LLVM developers to find these issues more easily.

We see a lot of warnings pop-up with a ToT clang toolchain (which is
supposed to be warning-free for compiling LLVM sources) with assertions
disabled due to local variables being used only in assertions. There
does not seem to be existing CI coverage of this configuration since
almost every bot seems to build with assertions enabled. While these
warnings generally do not result in correctness issues, code generally
ends up being cleaner/more clear when they are fixed, and they are low
cost to fix. We want to add this configuration to empower LLVM
developers to find these issues more easily.
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.

3 participants