diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-03-31 22:49:11 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-03-31 23:05:04 -0700 |
| commit | cf0c4cd7d2918205c13df38c4a62f93e1c72c1ac (patch) | |
| tree | 93a399c84277a986611e80b21f160fbf82919ed2 | |
| parent | 620b4d4946dbaf41ec8c0c7f9ba5c5d9810db89b (diff) | |
| download | rust-cf0c4cd7d2918205c13df38c4a62f93e1c72c1ac.tar.gz rust-cf0c4cd7d2918205c13df38c4a62f93e1c72c1ac.zip | |
rt: Begin running tidy on C++ code again. Oops
| -rw-r--r-- | mk/tests.mk | 27 |
1 files changed, 24 insertions, 3 deletions
diff --git a/mk/tests.mk b/mk/tests.mk index 2f3db5d9190..dc91588776d 100644 --- a/mk/tests.mk +++ b/mk/tests.mk @@ -74,13 +74,34 @@ check-full: tidy all check-stage1 check-stage2 check-stage3 \ ifdef CFG_NOTIDY tidy: else + +ALL_CS := $(wildcard $(S)src/rt/*.cpp \ + $(S)src/rt/*/*.cpp \ + $(S)src/rt/*/*/*.cpp \ + $(S)srcrustllvm/*.cpp) +ALL_CS := $(filter-out $(S)src/rt/bigint/bigint_ext.cpp \ + $(S)src/rt/bigint/bigint_int.cpp \ + ,$(ALL_CS)) +ALL_HS := $(wildcard $(S)src/rt/*.h \ + $(S)src/rt/*/*.h \ + $(S)src/rt/*/*/*.h \ + $(S)srcrustllvm/*.h) +ALL_HS := $(filter-out $(S)src/rt/vg/valgrind.h \ + $(S)src/rt/vg/memcheck.h \ + $(S)src/rt/uthash/uthash.h \ + $(S)src/rt/uthash/utlist.h \ + $(S)src/rt/msvc/typeof.h \ + $(S)src/rt/msvc/stdint.h \ + $(S)src/rt/msvc/inttypes.h \ + $(S)src/rt/bigint/bigint.h \ + ,$(ALL_HS)) + tidy: @$(call E, check: formatting) $(Q)echo \ - $(addprefix $(S)src/, $(RUSTLLVM_LIB_CS) $(RUSTLLVM_OBJS_CS) \ - $(RUSTLLVM_HDR) \ - $(RUNTIME_CS) $(RUNTIME_HDR) $(RUNTIME_S)) \ $(wildcard $(S)src/etc/*.py) \ + $(ALL_CS) \ + $(ALL_HS) \ $(COMPILER_CRATE) \ $(COMPILER_INPUTS) \ $(CORELIB_CRATE) \ |
