Skip to content

Commit ccfe7dc

Browse files
BMW-Contributor4og
authored andcommitted
[OS]QNX8 Clang tidy findings in xnm
GIT_ORIGIN_SPP_REV_ID: b9e69ab0869ad0a95d8fd57d57793bf8650bd8fd
1 parent 021c83f commit ccfe7dc

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

score/os/qnx/channel_impl.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,11 +227,13 @@ score::cpp::expected_blank<score::os::Error> ChannelImpl::MsgSendPulse(const std
227227
/* KW_SUPPRESS_END:MISRA.VAR.HIDDEN:Wrapper function is identifiable through namespace usage */
228228
{
229229
// Suppressed here because usage of this OSAL method is on banned list
230-
// NOLINTNEXTLINE(score-banned-function) see comment above
230+
// NOLINTBEGIN(score-banned-function) see comment above
231231
// Suppress AUTOSAR C++14 M5-0-3 rule findings: "A cvalue expression shall not be implicitly converted to a
232232
// different underlying type." Rationale: MsgSendPulse is a C system API that signals failure by returning -1 The
233-
// comparison follows the API definition and is safe. coverity[autosar_cpp14_m5_0_3_violation]
233+
// comparison follows the API definition and is safe.
234+
// coverity[autosar_cpp14_m5_0_3_violation]
234235
if (::MsgSendPulse(coid, priority, code, value) == -1)
236+
// NOLINTEND(score-banned-function) see comment above
235237
{
236238
return score::cpp::make_unexpected(score::os::Error::createFromErrno());
237239
}

0 commit comments

Comments
 (0)