Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mikir committed Sep 26, 2024
1 parent 85337e9 commit d52dedc
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions runtime/ClangTidySuppressions.txt
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -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
Expand All @@ -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

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit d52dedc

Please sign in to comment.