Build ASTImporterTest.cpp with /bigobj on MSVC builds to keep llvm-clang-x86_64-expen...
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 17 Dec 2018 15:14:08 +0000 (15:14 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 17 Dec 2018 15:14:08 +0000 (15:14 +0000)
llvm-svn: 349357

clang/unittests/AST/CMakeLists.txt

index 6621ce6..c416e5b 100644 (file)
@@ -2,6 +2,10 @@ set(LLVM_LINK_COMPONENTS
   Support
   )
 
+if (MSVC)
+  set_source_files_properties(ASTImporterTest.cpp PROPERTIES COMPILE_FLAGS /bigobj)
+endif()
+
 add_clang_unittest(ASTTests
   ASTContextParentMapTest.cpp
   ASTImporterTest.cpp