We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cc14b4 commit 94a36ddCopy full SHA for 94a36dd
llvm/lib/Analysis/CMakeLists.txt
@@ -30,7 +30,7 @@ endif()
30
# handled correctly.
31
if (MSVC)
32
set_source_files_properties(ConstantFolding.cpp PROPERTIES COMPILE_OPTIONS "/fp:except")
33
-else()
+elseif(CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang")
34
set_source_files_properties(ConstantFolding.cpp PROPERTIES COMPILE_OPTIONS "-ffp-exception-behavior=strict")
35
endif()
36
0 commit comments