make format should apply to all .cpp and .hpp files

This commit is contained in:
Rangi42
2025-09-05 21:05:58 -04:00
parent dcc10cebc3
commit 024b33b63a

View File

@@ -241,12 +241,12 @@ coverage:
# Target used in development to format source code with clang-format. # Target used in development to format source code with clang-format.
format: format:
$Qclang-format -i $$(git ls-files 'include/**/*.hpp' 'src/**/*.cpp') $Qclang-format -i $$(git ls-files '*.hpp' '*.cpp')
# Target used in development to check code with clang-tidy. # Target used in development to check code with clang-tidy.
# Requires Bison-generated header files to exist. # Requires Bison-generated header files to exist.
tidy: src/asm/parser.hpp src/link/script.hpp tidy: src/asm/parser.hpp src/link/script.hpp
$Qclang-tidy -p . $$(git ls-files 'include/**/*.hpp' 'src/**/*.cpp') $Qclang-tidy -p . $$(git ls-files '*.hpp' '*.cpp')
# Target used in development to remove unused `#include` headers. # Target used in development to remove unused `#include` headers.
iwyu: iwyu: