set C / C++ standard parameter for clang-tidy
This commit is contained in:
3
Makefile
3
Makefile
@@ -129,7 +129,8 @@ util.o: util.c util.h
|
|||||||
check: tidy
|
check: tidy
|
||||||
|
|
||||||
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:
|
clean:
|
||||||
rm -f libhardened_malloc.so $(OBJECTS)
|
rm -f libhardened_malloc.so $(OBJECTS)
|
||||||
|
|||||||
Reference in New Issue
Block a user