File tree Expand file tree Collapse file tree 1 file changed +24
-3
lines changed Expand file tree Collapse file tree 1 file changed +24
-3
lines changed Original file line number Diff line number Diff line change @@ -74,13 +74,34 @@ check-full: tidy all check-stage1 check-stage2 check-stage3 \
74
74
ifdef CFG_NOTIDY
75
75
tidy :
76
76
else
77
+
78
+ ALL_CS := $(wildcard $(S ) src/rt/* .cpp \
79
+ $(S ) src/rt/* /* .cpp \
80
+ $(S ) src/rt/* /* /* .cpp \
81
+ $(S ) srcrustllvm/* .cpp)
82
+ ALL_CS := $(filter-out $(S ) src/rt/bigint/bigint_ext.cpp \
83
+ $(S ) src/rt/bigint/bigint_int.cpp \
84
+ ,$(ALL_CS ) )
85
+ ALL_HS := $(wildcard $(S ) src/rt/* .h \
86
+ $(S ) src/rt/* /* .h \
87
+ $(S ) src/rt/* /* /* .h \
88
+ $(S ) srcrustllvm/* .h)
89
+ ALL_HS := $(filter-out $(S ) src/rt/vg/valgrind.h \
90
+ $(S ) src/rt/vg/memcheck.h \
91
+ $(S ) src/rt/uthash/uthash.h \
92
+ $(S ) src/rt/uthash/utlist.h \
93
+ $(S ) src/rt/msvc/typeof.h \
94
+ $(S ) src/rt/msvc/stdint.h \
95
+ $(S ) src/rt/msvc/inttypes.h \
96
+ $(S ) src/rt/bigint/bigint.h \
97
+ ,$(ALL_HS ) )
98
+
77
99
tidy :
78
100
@$(call E, check: formatting)
79
101
$(Q ) echo \
80
- $(addprefix $(S ) src/, $(RUSTLLVM_LIB_CS ) $(RUSTLLVM_OBJS_CS ) \
81
- $(RUSTLLVM_HDR ) \
82
- $(RUNTIME_CS) $(RUNTIME_HDR) $(RUNTIME_S)) \
83
102
$(wildcard $(S)src/etc/*.py) \
103
+ $(ALL_CS) \
104
+ $(ALL_HS) \
84
105
$(COMPILER_CRATE) \
85
106
$(COMPILER_INPUTS) \
86
107
$(CORELIB_CRATE) \
You can’t perform that action at this time.
0 commit comments