Update Makefile
This commit is contained in:
@@ -346,19 +346,6 @@ check-style:
|
|||||||
done
|
done
|
||||||
@echo "Style check passed"
|
@echo "Style check passed"
|
||||||
|
|
||||||
tidy:
|
|
||||||
@for src in $(ALL_SOURCE) $(ALL_INCLUDES) ; do \
|
|
||||||
echo "Running tidy on $$src..." ; \
|
|
||||||
clang-tidy -checks="-*,modernize-use-auto,modernize-use-nullptr,\
|
|
||||||
readability-else-after-return,readability-simplify-boolean-expr,\
|
|
||||||
readability-redundant-member-init,modernize-use-default-member-init,\
|
|
||||||
modernize-use-equals-default,modernize-use-equals-delete,\
|
|
||||||
modernize-use-using,modernize-loop-convert,\
|
|
||||||
cppcoreguidelines-no-malloc,misc-redundant-expression" \
|
|
||||||
-header-filter=".*" \
|
|
||||||
"$$src" ; \
|
|
||||||
done
|
|
||||||
@echo "Done"
|
|
||||||
.PHONY: style all clean default
|
.PHONY: style all clean default
|
||||||
.SECONDARY:
|
.SECONDARY:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user