Skip to content
Commit 970c715e authored by Tim Pambor's avatar Tim Pambor Committed by Daniel DeGrasse
Browse files

sys: cbprintf: Suppress bugprone-sizeof-expression



clang-tidy reports a bugprone-sizeof-expression warning for
sizeof((__v)) when __v is a pointer type. This is a false-positive
in contexts like logging with %p, where using a pointer is
intentional and expected.

Add a NOLINT comment to suppress the warning in static analysis.

Signed-off-by: default avatarTim Pambor <tim.pambor@codewrights.de>
parent 9f5492ac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment