.clang-tidy: enable cppcoreguidelines-avoid-const-or-ref-data-members
[babeltrace.git] / .clang-tidy
index 6a8a29ba48c8dbd7493b32dd6954c7afca84e05e..acbb1421c55ea6c46f74ba1033ed57d869e94692 100644 (file)
@@ -55,6 +55,7 @@ Checks:          '-*,
                   bugprone-virtual-near-miss,
                   bugprone-unused-raii,
                   bugprone-use-after-move,
+                  cppcoreguidelines-avoid-const-or-ref-data-members,
                   cppcoreguidelines-pro-type-const-cast,
                   cppcoreguidelines-slicing,
                   cppcoreguidelines-special-member-functions,
@@ -96,3 +97,7 @@ FormatStyle: 'file'
 CheckOptions:
   - key:          bugprone-assert-side-effect.AssertMacros
     value:        BT_ASSERT,BT_ASSERT_DBG
+  - key:          cppcoreguidelines-special-member-functions.AllowSoleDefaultDtor
+    value:        true
+  - key:          cppcoreguidelines-special-member-functions.AllowMissingMoveFunctionsWhenCopyIsDeleted
+    value:        true
This page took 0.022775 seconds and 4 git commands to generate.