Skip to content

Commit

Permalink
feat: tools/clang-format-all now reformats benchmarks & mocks
Browse files Browse the repository at this point in the history
  • Loading branch information
pajlada committed Oct 8, 2023
1 parent a20e52b commit 0806878
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/clang-format-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@ echo
if [[ $REPLY =~ ^[Yy]$ ]]; then
find src/ \( -iname "*.hpp" -o -iname "*.cpp" \) -exec clang-format -i {} \;
find tests/src/ \( -iname "*.hpp" -o -iname "*.cpp" \) -exec clang-format -i {} \;
find benchmarks/src/ \( -iname "*.hpp" -o -iname "*.cpp" \) -exec clang-format -i {} \;
find mocks/include/ \( -iname "*.hpp" -o -iname "*.cpp" \) -exec clang-format -i {} \;
fi

0 comments on commit 0806878

Please sign in to comment.