After upgrading, I hit a bug where the static analyzers do not work properly with Qt applications, and it turns out it is because of incorrect handling of "-isystem" directives in the ccc-analyzer wrapper. I found an upstream bug and it looks like it was fixed in SVN: https://llvm.org/bugs/show_bug.cgi?id=13237 I'm attaching a patch, that I've modified to work with the way that Gentoo builds clang (as part of llvm). It works for me as a user patch, but thought I'd give the Gentoo devs a chance to put it in portage so others benefit. Reproducible: Always
Created attachment 437818 [details, diff] Patch to fix -isystem in clang's static analyzer
commit bcee044c4c0e9f12b663f8886f181a7d46acea66 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: Sun Jul 3 08:50:42 2016 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: Sun Jul 3 09:17:44 2016 sys-devel/llvm: Fix static analyzer -isystem support, #586168