<div dir="ltr"><div><div>Hi,<br><br></div>To test the checkers we've developed, we would like to disable all clang warnings, except from the ones coming from our checker. We've tried the -w flag, but it also suppresses our own checker's warnings. We're running the clang with the -Xclang -analyzer-checker="testchecker" flags.<br>

<br></div><div>We have some work-around ideas (putting a unique marker string in our warnings, and filter out any warnings that do not contain them), but I feel that this is something most checker developers would run into sooner-or-later, so surely, there must be a better solution.<br>

<br></div><div>So how could we disable all clang warnings, except for the ones emitted by our specific checker?<br></div><div><br></div><div>Thanks!<br><br>Gabor<br></div></div>