Skip to content

Commit

Permalink
Run clang-tidy for src/ files with misc-include-cleaner
Browse files Browse the repository at this point in the history
  • Loading branch information
d-frey committed Nov 16, 2024
1 parent e03649d commit 14e240a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Checks: >-
misc-*,
-misc-non-private-member-variables-in-classes,
-misc-unused-alias-decls,
-misc-include-cleaner,
# -misc-include-cleaner,
modernize-*,
-modernize-avoid-c-arrays,
-modernize-concat-nested-namespaces,
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/clang-tidy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,4 @@ jobs:

- run: sudo apt-get install -yq clang-tidy libpq-dev

- run: find include/ -name '*.hpp' | xargs -I '{}' clang-tidy --quiet '{}' -- --std=c++20 -Iinclude -I$(pg_config --includedir)

- run: find src/ -name '*.cpp' | xargs -I '{}' clang-tidy --quiet '{}' -- --std=c++20 -Iinclude -I$(pg_config --includedir)
- run: find include/ src/ -name '*.?pp' | xargs -I '{}' clang-tidy --quiet '{}' -- --std=c++20 -Iinclude -I$(pg_config --includedir)

0 comments on commit 14e240a

Please sign in to comment.