Skip to content

Commit

Permalink
Update development lint script
Browse files Browse the repository at this point in the history
  • Loading branch information
smarr committed Aug 1, 2024
1 parent e4d56b1 commit da89ab0
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions lint.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#!/bin/sh
CFLAGS+=' -fdiagnostics-absolute-paths'
# clang-tidy-mp-18 --config-file=.clang-tidy ./src/compiler/Lexer.cpp -- -I/opt/local/include/ -DGC_TYPE=COPYING -DUNITTESTS -fdiagnostics-absolute-paths

# -header-filter=.*
# src/**/*.cpp
clang-tidy-mp-18 --config-file=.clang-tidy src/**/*.cpp -- -I/opt/local/include/ -fdiagnostics-absolute-paths -DGC_TYPE=COPYING -DUNITTESTS
clang-format-mp-18 -i --style=file --Werror src/*.cpp src/**/*.cpp src/**/*.h
clang-tidy-mp-18 --config-file=.clang-tidy src/**/*.cpp -- \
-I/opt/local/include/ -fdiagnostics-absolute-paths \
-DGC_TYPE=GENERATIONAL -DUSE_TAGGING=false -DCACHE_INTEGER=false -DUNITTESTS

0 comments on commit da89ab0

Please sign in to comment.