This fixes a compiler-rt build failure introduced by r231924 (temporarily reverted in r231925 pending this fix).
r231924 modified HandleLLVMOptions.cmake to pass in MSVC warning promotion/suppression flags as flags rather than as definitions ( see http://reviews.llvm.org/D8188 ). This meant that under the (MSVC) condition in CMake, we'd get new flags in the form /wNNNN, /wdNNNN and /weNNNN within CMAKE_*_FLAGS. These are not accepted by clang.exe resulting in an error building compiler-rt within the context of an MSVC build.
I found the existing code that converts from the '/flag' form to the '-flag' form when building with clang.exe under the (MSVC) condition and extended it to remove the above flags entirely.
Thanks,
Greg Bedwell
SN Systems Ltd - Sony Computer Entertainment Group