diff --git a/example02_threaded_raytracing/clang_tidy_generation.sh b/example02_threaded_raytracing/clang_tidy_generation.sh new file mode 100755 index 0000000..6037041 --- /dev/null +++ b/example02_threaded_raytracing/clang_tidy_generation.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env sh + +set -ev + +clang-tidy src/main.cpp -checks=*,-llvmlibc-*,-fuchsia-*,-readability-magic-numbers,-cppcoreguidelines-avoid-magic-numbers,-modernize-use-trailing-return-type,-llvm-header-guard,-cppcoreguidelines-pro-bounds-pointer-arithmetic,-altera-struct-pack-align,-misc-non-private-member-variables-in-classes,-modernize-use-nodiscard,-cppcoreguidelines-pro-type-union-access,-llvm-else-after-return,-readability-else-after-return -dump-config -- -std=c++17 > .clang-tidy