X-Git-Url: https://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=.clang-tidy;fp=.clang-tidy;h=acbb1421c55ea6c46f74ba1033ed57d869e94692;hp=6a8a29ba48c8dbd7493b32dd6954c7afca84e05e;hb=4b9e2e3d5986e17f1594c24dea430cb51a529360;hpb=a5b7ed13917ec689fa9fa01d6dcc24d10e6d4605 diff --git a/.clang-tidy b/.clang-tidy index 6a8a29ba..acbb1421 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -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