Add command used to generate .clang-tidy
This commit is contained in:
parent
d25e445147
commit
5eb0cd5ca1
1 changed files with 5 additions and 0 deletions
5
example02_threaded_raytracing/clang_tidy_generation.sh
Executable file
5
example02_threaded_raytracing/clang_tidy_generation.sh
Executable file
|
@ -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
|
Loading…
Reference in a new issue