https://bugs.llvm.org/show_bug.cgi?id=42780
Bug ID: 42780
Summary: scan-build does not understand TAILQ_REMOVE from
sys/queue.h
Product: clang
Version: 8.0
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Static Analyzer
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Created attachment 22294
--> https://bugs.llvm.org/attachment.cgi?id=22294&action=edit
Test program to reproduce false positive
scan-build 8.0 has introduced false positives related to TAILQ_REMOVE from
sys/queue.h. These false positives were not seen with previous versions of
scan-build. This was found when trying to upgrade scan-build on CI systems for
SPDK (Storage Performance Development Kit).
https://bugs.llvm.org/show_bug.cgi?id=15297 seems to point to the same issue,
but it was marked as resolved and fixed 6 years ago. This still seems like a
regression since behavior has changed with scan-build 8.0.
See attachment for a test program that reproduces the false positive.
Thanks,
Jim Harris
SPDK Core Maintainer
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs