mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
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:
parent
c536535bb8
commit
1ea7758a17
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user