Skip to content

Commit

Permalink
cleanup: Remove check_recursion, since tokstyle checks this now.
Browse files Browse the repository at this point in the history
And tokstyle is better at it, covering not just direct recursion, but
also (most possible instances of) recursion through function pointers.
  • Loading branch information
iphydf committed May 24, 2022
1 parent 50094b7 commit d43acba
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 125 deletions.
1 change: 0 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ jobs:
- run: git submodule update --init --recursive
- run: other/analysis/check_includes
- run: other/analysis/check_logger_levels
- run: other/analysis/run-check-recursion
- run: other/analysis/run-clang
- run: other/analysis/run-cppcheck
- run: other/analysis/run-gcc
Expand Down
2 changes: 2 additions & 0 deletions .github/scripts/flags-clang.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ add_flag -Wno-conversion
# TODO(iphydf): Check enum values when received from the user, then assume
# correctness and remove this suppression.
add_flag -Wno-covered-switch-default
# We use C99, so declarations can come after statements.
add_flag -Wno-declaration-after-statement
# Due to clang's tolower() macro being recursive
# https://github.com/TokTok/c-toxcore/pull/481
add_flag -Wno-disabled-macro-expansion
Expand Down
115 changes: 0 additions & 115 deletions other/analysis/check_recursion

This file was deleted.

9 changes: 0 additions & 9 deletions other/analysis/run-check-recursion

This file was deleted.

0 comments on commit d43acba

Please sign in to comment.