added gitignore and clang-tidy config
This commit is contained in:
parent
347148afe7
commit
ea4c8eb7a0
64
.clang-tidy
Normal file
64
.clang-tidy
Normal file
@ -0,0 +1,64 @@
|
|||||||
|
Checks: '*,
|
||||||
|
-abseil-*,
|
||||||
|
-altera-*,
|
||||||
|
-android-*,
|
||||||
|
-boost-*,
|
||||||
|
-darwin-*,
|
||||||
|
-fuchsia-*,
|
||||||
|
-google-*,
|
||||||
|
-hicpp-*,
|
||||||
|
-linuxkernel-*,
|
||||||
|
-llvm-*,
|
||||||
|
-llvmlibc-*,
|
||||||
|
-mpi-*,
|
||||||
|
-objc-*,
|
||||||
|
-zircon-*,
|
||||||
|
|
||||||
|
-bugprone-easily-swappable-parameters,
|
||||||
|
-bugprone-exception-escape,
|
||||||
|
-cert-dcl21-cpp,
|
||||||
|
-cert-err58-cpp,
|
||||||
|
-cppcoreguidelines-avoid-magic-numbers,
|
||||||
|
-cppcoreguidelines-avoid-non-const-global-variables,
|
||||||
|
-cppcoreguidelines-macro-usage,
|
||||||
|
-cppcoreguidelines-non-private-member-variables-in-classes,
|
||||||
|
-cppcoreguidelines-pro-bounds-array-to-pointer-decay,
|
||||||
|
-cppcoreguidelines-pro-bounds-constant-array-index,
|
||||||
|
-cppcoreguidelines-pro-bounds-pointer-arithmetic,
|
||||||
|
-cppcoreguidelines-pro-type-member-init,
|
||||||
|
-cppcoreguidelines-pro-type-reinterpret-cast,
|
||||||
|
-cppcoreguidelines-pro-type-static-cast-downcast,
|
||||||
|
-cppcoreguidelines-pro-type-union-access,
|
||||||
|
-cppcoreguidelines-pro-type-vararg,
|
||||||
|
-cppcoreguidelines-special-member-functions,
|
||||||
|
-misc-no-recursion,
|
||||||
|
-misc-non-private-member-variables-in-classes,
|
||||||
|
-modernize-return-braced-init-list,
|
||||||
|
-modernize-use-auto,
|
||||||
|
-modernize-use-trailing-return-type,
|
||||||
|
-portability-simd-intrinsics,
|
||||||
|
-readability-container-data-pointer,
|
||||||
|
-readability-convert-member-functions-to-static,
|
||||||
|
-readability-implicit-bool-conversion,
|
||||||
|
-readability-isolate-declaration,
|
||||||
|
-readability-magic-numbers,
|
||||||
|
-readability-named-parameter,
|
||||||
|
-readability-redundant-access-specifiers,
|
||||||
|
-readability-uppercase-literal-suffix,
|
||||||
|
-readability-use-anyofallof'
|
||||||
|
|
||||||
|
CheckOptions:
|
||||||
|
- key: readability-identifier-length.IgnoredParameterNames
|
||||||
|
value: '^[xyz]$'
|
||||||
|
- key: readability-identifier-length.IgnoredLoopCounterNames
|
||||||
|
value: '^[xyz]$'
|
||||||
|
- key: readability-identifier-length.IgnoredVariableNames
|
||||||
|
value: '(it|NO)'
|
||||||
|
- key: readability-function-cognitive-complexity.Threshold
|
||||||
|
value: 50
|
||||||
|
|
||||||
|
WarningsAsErrors: '*'
|
||||||
|
|
||||||
|
HeaderFilterRegex: 'source/*.hpp$'
|
||||||
|
|
||||||
|
UseColor: false
|
68
.gitignore
vendored
Normal file
68
.gitignore
vendored
Normal file
@ -0,0 +1,68 @@
|
|||||||
|
# Executables
|
||||||
|
/bin
|
||||||
|
/bin_*
|
||||||
|
|
||||||
|
# Vulkan API dumps
|
||||||
|
/api_dump*
|
||||||
|
|
||||||
|
# Compile commands
|
||||||
|
compile_commands.json
|
||||||
|
|
||||||
|
# whatever this is
|
||||||
|
.cache
|
||||||
|
|
||||||
|
# ImGui config
|
||||||
|
/imgui.ini
|
||||||
|
|
||||||
|
# Environment setup
|
||||||
|
/.env
|
||||||
|
|
||||||
|
# Build Configuration
|
||||||
|
/config.py
|
||||||
|
/config_*.py
|
||||||
|
|
||||||
|
# Prerequisites
|
||||||
|
*.d
|
||||||
|
|
||||||
|
# Compiled Object files
|
||||||
|
*.slo
|
||||||
|
*.lo
|
||||||
|
*.o
|
||||||
|
*.obj
|
||||||
|
|
||||||
|
# Precompiled Headers
|
||||||
|
*.gch
|
||||||
|
*.pch
|
||||||
|
|
||||||
|
# Compiled Dynamic libraries
|
||||||
|
*.so
|
||||||
|
*.dylib
|
||||||
|
*.dll
|
||||||
|
|
||||||
|
# Fortran module files
|
||||||
|
*.mod
|
||||||
|
*.smod
|
||||||
|
|
||||||
|
# Compiled Static libraries
|
||||||
|
*.lai
|
||||||
|
*.la
|
||||||
|
*.a
|
||||||
|
*.lib
|
||||||
|
|
||||||
|
# Executables
|
||||||
|
*.exe
|
||||||
|
*.out
|
||||||
|
*.app
|
||||||
|
|
||||||
|
# Debug Info
|
||||||
|
*.pdb
|
||||||
|
|
||||||
|
# for projects that use SCons for building: http://http://www.scons.org/
|
||||||
|
.sconsign.dblite
|
||||||
|
|
||||||
|
# Byte-compiled / optimized python files
|
||||||
|
__pycache__/
|
||||||
|
*.py[cod]
|
||||||
|
|
||||||
|
# Backup files
|
||||||
|
*.bak
|
Loading…
x
Reference in New Issue
Block a user