-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Server Programmability
-
Fully Compatible
Putting WarningsAsErrors: '-*' in .clang-tidy interacts poorly with clangd. It promotes all warnings to errors, even normal clang warnings, even if you use -Wno-error. See the attached screenshot for the effect. This is arguably a bug in clangd, but it is probably a good idea to address this in our code anyway. We only actually want to promote clang-tidy warnings to errors in CI, not in developers' local tooling. So we should remove that line from .clang-tidy and opt-in to that behavior in our CI script.
- depends on
-
SERVER-97114 --disable-warnings-as-errors not correctly propagated to bazel
- Closed