Skip to content

Commit a34584e

Browse files
committed
Drop /analyze instead of /WX
1 parent 847d442 commit a34584e

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

buildbot/configure.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -170,12 +170,6 @@ def do_configure(args, passthrough_args):
170170

171171
install_dir = os.path.join(abs_obj_dir, "install")
172172

173-
if args.add_security_flags and args.add_security_flags != 'none':
174-
# Our codebase isn't ready for those new warnings just yet
175-
if platform.system() == "Windows":
176-
sycl_werror = "OFF"
177-
xpti_enable_werror = "OFF"
178-
179173
cmake_cmd = [
180174
"cmake",
181175
"-G",

llvm/cmake/modules/AddSecurityFlags.cmake

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,6 @@ macro(append_common_extra_security_flags)
7474
elseif(is_icpx)
7575
add_compile_option_ext("/Wformat" WFORMAT)
7676
add_compile_option_ext("/Wformat-security" WFORMATSECURITY)
77-
elseif(is_msvc)
78-
add_compile_option_ext("/analyze" ANALYZE)
7977
endif()
8078

8179
if(CMAKE_BUILD_TYPE MATCHES "Release")

0 commit comments

Comments
 (0)