Enable build with clang static analyzer
authorJan Vorlicek <janvorli@microsoft.com>
Fri, 8 Mar 2019 01:31:39 +0000 (17:31 -0800)
committerJan Vorlicek <janvorli@microsoft.com>
Fri, 8 Mar 2019 09:42:37 +0000 (01:42 -0800)
commit5b30471339e6287da884fd9f9b3fd06581978b00
tree4bb65b35f402754ba1d96b189f0eb199ff657f6b
parent4cd8c37350a81d1bd00f86b52b3964542b8a7da7
Enable build with clang static analyzer

As part of LLVM, there is a clang static analyzer tool that provides
useful analysis of potential issues in the source code base.

This change enables building coreclr with that analyzer enabled.

Commit migrated from https://github.com/dotnet/coreclr/commit/7b7f8ec1e3f974a43e96c3f01cb0d5a2da913e17
src/coreclr/build.sh
src/coreclr/src/pal/tools/gen-buildsys-clang.sh