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

all: treat clang-tidy warnings as errors #1745

Merged
merged 14 commits into from
Jan 11, 2024
Merged

all: treat clang-tidy warnings as errors #1745

merged 14 commits into from
Jan 11, 2024

Conversation

yperbasis
Copy link
Member

No description provided.

@yperbasis yperbasis added the maintenance Some maintenance work (fix, refactor, rename, test...) label Jan 10, 2024
Copy link

codecov bot commented Jan 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (346ed4c) 52.74% compared to head (1b72a0f) 52.71%.
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1745      +/-   ##
==========================================
- Coverage   52.74%   52.71%   -0.03%     
==========================================
  Files         599      599              
  Lines       44770    44770              
  Branches     6947     6947              
==========================================
- Hits        23615    23602      -13     
- Misses      19091    19099       +8     
- Partials     2064     2069       +5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@yperbasis yperbasis marked this pull request as ready for review January 11, 2024 10:18
CMakeLists.txt Outdated
@@ -91,7 +91,7 @@ include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/compiler_warnings.cmake)
if(SILKWORM_CLANG_TIDY)
find_program(CLANG_TIDY clang-tidy REQUIRED)
set(CMAKE_C_CLANG_TIDY "${CLANG_TIDY};-warnings-as-errors=*")
set(CMAKE_CXX_CLANG_TIDY "${CLANG_TIDY}")
set(CMAKE_CXX_CLANG_TIDY "${CLANG_TIDY};-warnings-as-errors=*")
Copy link
Member

Choose a reason for hiding this comment

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

You can control this from the config.

@canepat canepat merged commit 8f4e46a into master Jan 11, 2024
13 checks passed
@canepat canepat deleted the ci/tidier8 branch January 11, 2024 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Some maintenance work (fix, refactor, rename, test...)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants