Skip to content

Commit

Permalink
update clang suppressions
Browse files Browse the repository at this point in the history
  • Loading branch information
mikir committed Jun 14, 2024
1 parent 8fa20c0 commit c159806
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions compiler/extensions/cpp/runtime/ClangTidySuppressions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@ bugprone-signed-char-misuse:src/zserio/DeltaContext.h:95
bugprone-signed-char-misuse:src/zserio/DeltaContext.h:113
bugprone-signed-char-misuse:src/zserio/DeltaContext.h:176
bugprone-signed-char-misuse:src/zserio/DeltaContext.h:212
bugprone-signed-char-misuse:src/zserio/DeltaContext.h:342
bugprone-signed-char-misuse:src/zserio/DeltaContext.h:369
bugprone-signed-char-misuse:src/zserio/DeltaContext.h:343
bugprone-signed-char-misuse:src/zserio/DeltaContext.h:370

# static_casts were added to silence -Wsign-conversion warning requested in #625
bugprone-misplaced-widening-cast:src/zserio/DeltaContext.h:142
bugprone-misplaced-widening-cast:src/zserio/DeltaContext.h:276

# This is necessary for implementation of low level implementation of Span and StringView to mimic standard
# C++17 'std::span' and 'std::string_view' abstractions.
Expand Down Expand Up @@ -55,7 +59,7 @@ cppcoreguidelines-pro-bounds-constant-array-index:src/zserio/BitStreamWriter.cpp
cppcoreguidelines-pro-bounds-constant-array-index:src/zserio/BitStreamWriter.cpp:389
cppcoreguidelines-pro-bounds-constant-array-index:src/zserio/BitStreamWriter.cpp:395
cppcoreguidelines-pro-bounds-constant-array-index:src/zserio/BitStreamWriter.cpp:591
cppcoreguidelines-pro-bounds-constant-array-index:src/zserio/BitStreamWriter.cpp:659
cppcoreguidelines-pro-bounds-constant-array-index:src/zserio/BitStreamWriter.cpp:660
cppcoreguidelines-pro-bounds-constant-array-index:src/zserio/JsonEncoder.cpp:91
cppcoreguidelines-pro-bounds-constant-array-index:src/zserio/JsonEncoder.cpp:92
cppcoreguidelines-pro-bounds-constant-array-index:src/zserio/Enums.h:93
Expand Down

0 comments on commit c159806

Please sign in to comment.