[clang] 7bf92f2 - [clang][Sema] Shard out SemaTests into their own binary (#155548)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 28 23:13:20 PDT 2025
Author: Nathan Ridge
Date: 2025-08-29T02:13:17-04:00
New Revision: 7bf92f2827368d452bc979848bb7fb84bc6d449c
URL: https://github.com/llvm/llvm-project/commit/7bf92f2827368d452bc979848bb7fb84bc6d449c
DIFF: https://github.com/llvm/llvm-project/commit/7bf92f2827368d452bc979848bb7fb84bc6d449c.diff
LOG: [clang][Sema] Shard out SemaTests into their own binary (#155548)
Co-authored-by: Reid Kleckner <rnk at google.com>
Added:
Modified:
clang/unittests/Sema/CMakeLists.txt
Removed:
################################################################################
diff --git a/clang/unittests/Sema/CMakeLists.txt b/clang/unittests/Sema/CMakeLists.txt
index acc76c932afeb..b61ed8c457635 100644
--- a/clang/unittests/Sema/CMakeLists.txt
+++ b/clang/unittests/Sema/CMakeLists.txt
@@ -1,4 +1,8 @@
-add_clang_unittest(SemaTests
+# SemaTests are distinct to enable fast incremental builds.
+# Merging it into AllClangTests would result in one less
+# large statically linked binary, but separating it out is
+# the right tradeoff today.
+add_distinct_clang_unittest(SemaTests
ExternalSemaSourceTest.cpp
CodeCompleteTest.cpp
HeuristicResolverTest.cpp
More information about the cfe-commits
mailing list