From a6e58888804f4541e1c705be7c989b4ec9096108 Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Mon, 17 Dec 2018 15:14:08 +0000 Subject: [PATCH] Build ASTImporterTest.cpp with /bigobj on MSVC builds to keep llvm-clang-x86_64-expensive-checks-win buildbot happy llvm-svn: 349357 --- clang/unittests/AST/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/clang/unittests/AST/CMakeLists.txt b/clang/unittests/AST/CMakeLists.txt index 6621ce681bc4..c416e5b996b4 100644 --- a/clang/unittests/AST/CMakeLists.txt +++ b/clang/unittests/AST/CMakeLists.txt @@ -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