Skip to content

Commit

Permalink
Merge pull request sxs-collaboration#6462 from wthrowe/clang-tidy-lib…
Browse files Browse the repository at this point in the history
…sharp
  • Loading branch information
knelli2 authored Jan 29, 2025
2 parents 51dbb85 + e39f436 commit 35f8569
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ Checks: '*,
-misc-confusable-identifiers,
# thinks constexpr variables in header files cause ODR violations,
-misc-definitions-in-headers,
# Insufficiently configurable, does not handle system headers well,
-misc-include-cleaner,
# false positives,
-misc-noexcept-move-constructor,
-misc-non-private-member-variables-in-classes,
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/Tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ jobs:
-D BUILD_PYTHON_BINDINGS=ON
$GITHUB_WORKSPACE
make -j4 module_All
make -j4 module_All Libsharp-external
- name: Check clang-tidy
run: >
UPSTREAM_HASH=$(git merge-base HEAD upstream/develop)
Expand Down
1 change: 1 addition & 0 deletions cmake/SetupClangTidy.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ if (CLANG_TIDY_BIN)
message(STATUS "clang-tidy: ${CLANG_TIDY_BIN}")
set(MODULES_TO_DEPEND_ON
module_All
Libsharp
)
if (TARGET SpectrePch)
list(APPEND MODULES_TO_DEPEND_ON SpectrePch)
Expand Down

0 comments on commit 35f8569

Please sign in to comment.