As discussed on the mailing list in "Clang on Windows fails to detect trivial double free in static analysis", the "unix" checkers are also applicable on Windows, and enables Malloc/MallocSizeof/cstring.BadSizeArg/cstring.NullArg/API checking. This patch enables the unix checkers by removing the "IsWindowsMSVC" check.
(I haven't actually compiled this yet, but will do so immediately)
I think it might be better to explicitly enable the checkers we know make sense on Windows (e.g., unix.Malloc) rather than all checkers in the unix package. For example, it seems to me that the Vfork checker might produce confusing false positives on Windows codebases. This would also prevent future Unix-only checkers from being accidentally enabled on Windows.
What do you think?