From 7695c7302c433c56ea59e89b780be5e985d84a5d Mon Sep 17 00:00:00 2001 From: Jonas Hahnfeld Date: Tue, 13 Aug 2024 11:34:06 +0200 Subject: [PATCH] Turn off delayed template parsing on Windows It is "a deprecated technique". Co-authored-by: Bertrand Bellenot --- lib/Interpreter/CIFactory.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Interpreter/CIFactory.cpp b/lib/Interpreter/CIFactory.cpp index aec79e1f19..9f799fdea3 100644 --- a/lib/Interpreter/CIFactory.cpp +++ b/lib/Interpreter/CIFactory.cpp @@ -444,8 +444,8 @@ namespace { Opts.MSVCCompat = 1; Opts.ThreadsafeStatics = 0; // FIXME: this is removing the thread guard around static init! #endif - // Should fix http://llvm.org/bugs/show_bug.cgi?id=10528 - Opts.DelayedTemplateParsing = 1; + // Disable delayed template parsing, it is "a deprecated technique". + Opts.DelayedTemplateParsing = 0; } else { Opts.MicrosoftExt = 0; }