-
Notifications
You must be signed in to change notification settings - Fork 392
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iox-#1196 Add lint suppressions and fix warnings for PoorMansHeap #1467
iox-#1196 Add lint suppressions and fix warnings for PoorMansHeap #1467
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1467 +/- ##
==========================================
- Coverage 78.78% 78.78% -0.01%
==========================================
Files 377 377
Lines 14474 14474
Branches 2009 2009
==========================================
- Hits 11404 11403 -1
- Misses 2433 2434 +1
Partials 637 637
Flags with carried forward coverage won't be shown. Click here to find out more.
|
iceoryx_hoofs/include/iceoryx_hoofs/internal/cxx/poor_mans_heap.inl
Outdated
Show resolved
Hide resolved
@@ -23,7 +23,7 @@ namespace iox | |||
{ | |||
namespace cxx | |||
{ | |||
// AXIVION Construct Ruleset-A12.1.1 : it is guaranteed that the array elements are initialized on access | |||
// AXIVION Construct AutosarC++19_03-A12.1.1 : it is guaranteed that the array elements are initialized on access |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@elBoberido I don't get A12.1.1
reported in stack
when removing this rule and running the check locally.
@dkroenke @neillangmead41 Could you check that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI @saif-at-github
@@ -50,12 +50,12 @@ class stack // NOLINT (cppcoreguidelines-pro-type-member-init,hicpp-member-init) | |||
static constexpr uint64_t capacity() noexcept; | |||
|
|||
private: | |||
// AXIVION Next Line Ruleset-A18.1.1 : safe access is guaranteed since the char array is wrapped inside the stack | |||
// class | |||
// AXIVION Next Line AutosarC++19_03-A18.1.1 : safe access is guaranteed since the char array is wrapped inside the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@neillangmead41 @dkroenke This suppression works fine.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Besides the Axivion scan nitpicks, LGTM!
Pre-Review Checklist for the PR Author
iox-#123-this-is-a-branch
)iox-#123 commit text
)git commit -s
)task-list-completed
)Notes for Reviewer
Checklist for the PR Reviewer
Post-review Checklist for the PR Author
References