From d52dedcc5597428580d22e332105c7bc8166ade2 Mon Sep 17 00:00:00 2001 From: Miki Rozloznik Date: Thu, 26 Sep 2024 06:18:18 -0400 Subject: [PATCH] Fix CI --- runtime/ClangTidySuppressions.txt | 36 +++++++++++++++---------------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/runtime/ClangTidySuppressions.txt b/runtime/ClangTidySuppressions.txt index e6f8907..cbc39e0 100644 --- a/runtime/ClangTidySuppressions.txt +++ b/runtime/ClangTidySuppressions.txt @@ -1,10 +1,10 @@ # Optional is a generic container and exceptions may be thrown from the value type. -bugprone-exception-escape:src/zserio/Optional.h:349 -bugprone-exception-escape:src/zserio/Optional.h:376 +bugprone-exception-escape:src/zserio/Optional.h:348 +bugprone-exception-escape:src/zserio/Optional.h:375 # False positives - has_value() is checked before value() -bugprone-exception-escape:src/zserio/Optional.h:212 -bugprone-exception-escape:src/zserio/Optional.h:396 -bugprone-exception-escape:src/zserio/Optional.h:436 +bugprone-exception-escape:src/zserio/Optional.h:211 +bugprone-exception-escape:src/zserio/Optional.h:395 +bugprone-exception-escape:src/zserio/Optional.h:440 # Test needs exceptions bugprone-exception-escape:test/zserio/OptionalTest.cpp:260 # Variant is a generic container and exceptions may be thrown from the element types. @@ -14,7 +14,7 @@ bugprone-exception-escape:src/zserio/Variant.h:264 bugprone-exception-escape:test/zserio/VariantTest.cpp:35 # Iteration through all variant types is needed for folding expression. m_data active element is moved out but index remains so it's safe to access. -bugprone-use-after-move:src/zserio/Variant.h:671 +bugprone-use-after-move:src/zserio/Variant.h:676 # This is necessary for low level implementation of Span to mimic standard C++20 'std::span' abstraction. cppcoreguidelines-avoid-c-arrays:src/zserio/Span.h:112 @@ -32,14 +32,14 @@ cppcoreguidelines-macro-usage:src/zserio/CppRuntimeVersion.h:8 # This is necessary for convenient usage of CppRuntimeException cppcoreguidelines-pro-bounds-array-to-pointer-decay:src/zserio/CppRuntimeException.h:193 # Optional follows std::optional so passing value by const & is correct -cppcoreguidelines-pro-bounds-array-to-pointer-decay:src/zserio/Optional.h:569 -cppcoreguidelines-pro-bounds-array-to-pointer-decay:src/zserio/Optional.h:586 -cppcoreguidelines-pro-bounds-array-to-pointer-decay:src/zserio/Optional.h:786 -cppcoreguidelines-pro-bounds-array-to-pointer-decay:src/zserio/Optional.h:800 -cppcoreguidelines-pro-bounds-array-to-pointer-decay:src/zserio/Optional.h:926 -cppcoreguidelines-pro-bounds-array-to-pointer-decay:src/zserio/Optional.h:940 -cppcoreguidelines-pro-bounds-array-to-pointer-decay:src/zserio/Optional.h:998 -cppcoreguidelines-pro-bounds-array-to-pointer-decay:src/zserio/Optional.h:1012 +cppcoreguidelines-pro-bounds-array-to-pointer-decay:src/zserio/Optional.h:573 +cppcoreguidelines-pro-bounds-array-to-pointer-decay:src/zserio/Optional.h:590 +cppcoreguidelines-pro-bounds-array-to-pointer-decay:src/zserio/Optional.h:790 +cppcoreguidelines-pro-bounds-array-to-pointer-decay:src/zserio/Optional.h:804 +cppcoreguidelines-pro-bounds-array-to-pointer-decay:src/zserio/Optional.h:930 +cppcoreguidelines-pro-bounds-array-to-pointer-decay:src/zserio/Optional.h:944 +cppcoreguidelines-pro-bounds-array-to-pointer-decay:src/zserio/Optional.h:1002 +cppcoreguidelines-pro-bounds-array-to-pointer-decay:src/zserio/Optional.h:1016 # This is necessary for low level implementation of Span to mimic standard C++20 'std::span' abstraction. cppcoreguidelines-pro-bounds-array-to-pointer-decay:src/zserio/Span.h:113 @@ -82,10 +82,10 @@ cppcoreguidelines-pro-type-reinterpret-cast:src/zserio/FileUtil.cpp:48 cppcoreguidelines-special-member-functions:test/zserio/VariantTest.cpp:32 # Optional follows std::optional so the ctors should be implicit -google-explicit-constructor:src/zserio/Optional.h:118 -google-explicit-constructor:src/zserio/Optional.h:128 -google-explicit-constructor:src/zserio/Optional.h:138 -google-explicit-constructor:src/zserio/Optional.h:235 +google-explicit-constructor:src/zserio/Optional.h:117 +google-explicit-constructor:src/zserio/Optional.h:127 +google-explicit-constructor:src/zserio/Optional.h:137 +google-explicit-constructor:src/zserio/Optional.h:234 # This is necessary for low level implementation of Span to mimic standard C++20 'std::span' abstraction. google-explicit-constructor:src/zserio/Span.h:112 google-explicit-constructor:src/zserio/Span.h:125