style: modernize sample code and tame clang-tidy noise

This commit is contained in:
2025-09-23 14:15:40 +08:00
parent b74681a0f5
commit 5b8bf0cdb7
5 changed files with 28 additions and 27 deletions

View File

@@ -55,7 +55,7 @@ tidy:
@if [ -n "$(strip $(SRCS))" ]; then \
for src in $(SRCS); do \
echo "running clang-tidy on $$src"; \
$(CLANG_TIDY) $$src -- $(CPPFLAGS) $(CXXFLAGS); \
$(CLANG_TIDY) -quiet $$src -- $(CPPFLAGS) $(CXXFLAGS); \
done; \
else \
echo "warning: no source files found for clang-tidy"; \