set C / C++ standard parameter for clang-tidy
parent
e41d37c3de
commit
3b72a4f810
3
Makefile
3
Makefile
|
@ -129,7 +129,8 @@ util.o: util.c util.h
|
|||
check: tidy
|
||||
|
||||
tidy:
|
||||
clang-tidy $(SOURCES) -- $(CPPFLAGS)
|
||||
clang-tidy --extra-arg=-std=c11 $(filter %.c,$(SOURCES)) -- $(CPPFLAGS)
|
||||
clang-tidy --extra-arg=-std=c++17 $(filter %.cc,$(SOURCES)) -- $(CPPFLAGS)
|
||||
|
||||
clean:
|
||||
rm -f libhardened_malloc.so $(OBJECTS)
|
||||
|
|
Loading…
Reference in New Issue