From 82aa369db388b3a1b35f18af97ce31aa8c232bcd Mon Sep 17 00:00:00 2001 From: Dennis Luxen Date: Mon, 6 May 2024 19:09:10 +0200 Subject: [PATCH] Remove dead code modernization script (#6863) --- scripts/modernize.sh | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100755 scripts/modernize.sh diff --git a/scripts/modernize.sh b/scripts/modernize.sh deleted file mode 100755 index fb5a666cd..000000000 --- a/scripts/modernize.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/usr/bin/env bash - -set -o errexit -set -o pipefail -set -o nounset - -# Runs the Clang Modernizer in parallel on the code base. -# Requires a compilation database in the build directory. - -find src include unit_tests -type f -name '*.hpp' -o -name '*.cpp' \ - | xargs \ - -I{} \ - -P $(nproc) \ - clang-modernize \ - -p build \ - -final-syntax-check \ - -format \ - -style=file \ - -summary \ - -for-compilers=clang-3.4,gcc-4.8 \ - -include . \ - -exclude third_party \ - {}