Remove dead code modernization script (#6863)

This commit is contained in:
Dennis Luxen 2024-05-06 19:09:10 +02:00 committed by GitHub
parent 0583582772
commit 82aa369db3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 \
{}