File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1313 steps :
1414 - name : Checkout repo
1515 uses : actions/checkout@v6
16+ - name : Install clang-format
17+ run : |
18+ sudo apt-get install -Uyq install clang-format
1619 - name : Check format
1720 run : |
18- sudo apt --update --yes --quiet install clang-format
1921 contrib/checkformat.sh
Original file line number Diff line number Diff line change @@ -243,12 +243,12 @@ coverage:
243243
244244# Target used in development to format source code with clang-format.
245245format :
246- $Qclang -format -i $$(git ls-files '*.hpp' '*.cpp ' )
246+ $Qclang -format -i $$(git ls-files '*.[hc]pp ' )
247247
248248# Target used in development to check code with clang-tidy.
249249# Requires Bison-generated header files to exist.
250250tidy : src/asm/parser.hpp src/link/script.hpp
251- $Qclang -tidy -p . $$(git ls-files '*.hpp' '*.cpp ' )
251+ $Qclang -tidy -p . $$(git ls-files '*.[hc]pp ' )
252252
253253# Target used in development to remove unused `#include` headers.
254254iwyu :
You can’t perform that action at this time.
0 commit comments