问题
I am using Coverity Prevent on a C++ project. Is there some way of flagging false positives directly in the source code?
回答1:
Coverity Static Analysis supports source code annotations. They are described in the manual - since I don't know what version you're using I can't tell you exactly what section but it's in the book called "Checker Reference" in a section on "Models and Annotations."
来源:https://stackoverflow.com/questions/3557639/silencing-false-positives-in-coverity-prevent