Skip to content

Commit

Permalink
Update .clang-tidy according to the meeting
Browse files Browse the repository at this point in the history
  • Loading branch information
haozhihan authored Jun 12, 2024
1 parent 747011a commit 5b6798a
Showing 1 changed file with 34 additions and 31 deletions.
65 changes: 34 additions & 31 deletions .clang-tidy
Original file line number Diff line number Diff line change
@@ -1,41 +1,44 @@
---
Checks: '
bugprone-*,
clang-analyzer-*,
clang-diagnostic-*,
cppcoreguidelines-avoid-non-const-global-variables,
cppcoreguidelines-macro-usage,
cppcoreguidelines-pro-type-member-init,
fuchsia-multiple-inheritance,
google-*,
-google-runtime-references,
llvm-header-guard,
misc-*,
modernize-deprecated-headers,
modernize-redundant-void-arg,
modernize-shrink-to-fit,
modernize-use-bool-literals,
modernize-use-nullptr,
modernize-use-starts-ends-with,
mpi-*,
performance-*,
-performance-avoid-endl,
readability-*,
-readability-else-after-return,
-readability-magic-numbers,
-readability-isolate-declaration,
-readability-braces-around-statements,
-readability-implicit-bool-conversion,
-google-readability-braces-around-statements,
-misc-unused-parameters,
-modernize-pass-by-value,
-modernize-use-auto,
-google-readability-casting,
-readability-make-member-function-const,
-cppcoreguidelines-avoid-non-const-global-variables,
-readability-function-cognitive-complexity,
-google-build-using-namespace,
-bugprone-narrowing-conversions,
readability-avoid-return-with-void-value
# bugprone-*,
# clang-analyzer-*,
# clang-diagnostic-*,
# cppcoreguidelines-avoid-non-const-global-variables,
# cppcoreguidelines-macro-usage,
# cppcoreguidelines-pro-type-member-init,
# fuchsia-multiple-inheritance,
# google-*,
# -google-runtime-references,
# misc-*,
# modernize-shrink-to-fit,
# modernize-use-starts-ends-with,
# mpi-*,
# performance-*,
# -performance-avoid-endl,
# readability-*,
# -readability-else-after-return,
# -readability-magic-numbers,
# -readability-isolate-declaration,
# -readability-braces-around-statements,
# -readability-implicit-bool-conversion,
# -google-readability-braces-around-statements,
# -misc-unused-parameters,
# -modernize-pass-by-value,
# -modernize-use-auto,
# -google-readability-casting,
# -readability-make-member-function-const,
# -cppcoreguidelines-avoid-non-const-global-variables,
# -readability-function-cognitive-complexity,
# -google-build-using-namespace,
# -bugprone-narrowing-conversions,
'
FormatStyle: file
...

0 comments on commit 5b6798a

Please sign in to comment.