Skip to content

Instantly share code, notes, and snippets.

@hxhc
Created November 13, 2022 10:57
Show Gist options
  • Save hxhc/bdf7b9da17fb89605eab66c4a08848a8 to your computer and use it in GitHub Desktop.
Save hxhc/bdf7b9da17fb89605eab66c4a08848a8 to your computer and use it in GitHub Desktop.
clang-tidy yaml configuration
Diagnostics:
ClangTidy:
Add:
[
boost-*,
bugprone-*,
clang-analyzer-*,
cppcoreguidelines-*,
modernize-*,
openmp-*,
performance-*,
readability-*,
]
Remove:
[
readability-braces-around-statements,
modernize-use-trailing-return-type,
cppcoreguidelines-special-member-functions,
cppcoreguidelines-avoid-magic-numbers,
readability-magic-numbers,
readability-identifier-length,
readability-make-member-function-const,
bugprone-easily-swappable-parameters,
modernize-use-equals-default,
]
Index:
Background: Build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment