r338186 - Compile SemaTemplate.cpp with /bigobj on MSVC

Erik Pilkington via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 27 18:29:31 PDT 2018


Author: epilk
Date: Fri Jul 27 18:29:31 2018
New Revision: 338186

URL: http://llvm.org/viewvc/llvm-project?rev=338186&view=rev
Log:
Compile SemaTemplate.cpp with /bigobj on MSVC

This should fix some bot failures introduced by r338165.

Modified:
    cfe/trunk/lib/Sema/CMakeLists.txt

Modified: cfe/trunk/lib/Sema/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/CMakeLists.txt?rev=338186&r1=338185&r2=338186&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/CMakeLists.txt (original)
+++ cfe/trunk/lib/Sema/CMakeLists.txt Fri Jul 27 18:29:31 2018
@@ -5,6 +5,7 @@ set(LLVM_LINK_COMPONENTS
 if (MSVC)
   set_source_files_properties(SemaDeclAttr.cpp PROPERTIES COMPILE_FLAGS /bigobj)
   set_source_files_properties(SemaExpr.cpp PROPERTIES COMPILE_FLAGS /bigobj)
+  set_source_files_properties(SemaTemplate.cpp PROPERTIES COMPILE_FLAGS /bigobj)
 endif()
 
 add_clang_library(clangSema




More information about the cfe-commits mailing list