Enable gtest SEH when building with clang-cl

Clang supports SEH well enough that this should work out of the box.  If
it doesn't, we'll hear about it.

llvm-svn: 249766
This commit is contained in:
Reid Kleckner 2015-10-08 22:44:39 +00:00
parent 00851fdf4c
commit 066c8db347
1 changed files with 0 additions and 4 deletions

View File

@ -22,10 +22,6 @@ function(llvm_update_compile_flags name)
list(APPEND LLVM_COMPILE_DEFINITIONS _HAS_EXCEPTIONS=0)
list(APPEND LLVM_COMPILE_FLAGS "/EHs-c-")
endif()
if (CLANG_CL)
# FIXME: Remove this once clang-cl supports SEH
list(APPEND LLVM_COMPILE_DEFINITIONS "GTEST_HAS_SEH=0")
endif()
endif()
# LLVM_REQUIRES_RTTI is an internal flag that individual