style: modernize sample code and tame clang-tidy noise
This commit is contained in:
2
Makefile
2
Makefile
@@ -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"; \
|
||||
|
Reference in New Issue
Block a user