Fixes for clang-tidy-9
[alexxy/gromacs.git] / src / .clang-tidy
index 6efdf2d87cbff903b029ec53f16cfcdc61c5c64e..6a7556b89ebe66054b1ed70087d62439792c00b6 100644 (file)
 # We have many cases where int is converted to float and we don't care
 # enough about such potential loss of precision to use explicit casts
 # in large numbers of places.
-
+#
+#         -google-readability-avoid-underscore-in-googletest-name
+# We need to use underscores for readability for our legacy types
+# and command-line parameter names
+#
 Checks:  clang-diagnostic-*,-clang-analyzer-*,-clang-analyzer-security.insecureAPI.strcpy,
          bugprone-*,misc-*,readability-*,performance-*,mpi-*,
          -readability-inconsistent-declaration-parameter-name,
@@ -51,7 +55,8 @@ Checks:  clang-diagnostic-*,-clang-analyzer-*,-clang-analyzer-security.insecureA
          -readability-magic-numbers,
          -cppcoreguidelines-macro-usage,
          -cppcoreguidelines-narrowing-conversions,
-         -bugprone-narrowing-conversions
+         -bugprone-narrowing-conversions,
+         -google-readability-avoid-underscore-in-googletest-name
 HeaderFilterRegex: .*
 CheckOptions:
   - key:           cppcoreguidelines-special-member-functions.AllowSoleDefaultDtor