Unable to build 3.7 in VS2015

Using the following set of commands I get a compiler crash in astcontext.cpp from VS2015.

svn co http://llvm.org/svn/llvm-project/llvm/tags/RELEASE_370/final/ llvm
cd llvm\tools
svn co http://llvm.org/svn/llvm-project/cfe/tags/RELEASE_370/final/ clang
cd clang\tools
svn co http://llvm.org/svn/llvm-project/clang-tools-extra/tags/RELEASE_370/final/ extra
cd …
mkdir build
cd build
cmake -G “Visual Studio 14” …\llvm
“C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe” LLVM.sln /build Release

It builds successfully in Debug mode, but Release mode crashes. I have filed a bug with Microsoft here:
https://connect.microsoft.com/VisualStudio/feedback/details/1741530

I've built 3.7 fine in release mode with VS 2015, so there be more
information needed, like maybe OS version and possibly a confirmation
if you're using the RTM bits for VS 2015.

Can you isolate the crash by getting the preprocessed file (/P option
for cl.exe), and then compile that in isolation, and see if it fails
for you consistently?

I was able to reproduce this with a preprocessed file. I have attached the file to the Microsoft bug report; it should show up in the next few hours.