[clang] [clang][Sema] Shard out SemaTests into their own binary (PR #155548)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 26 21:29:57 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang
Author: Nathan Ridge (HighCommander4)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/155548.diff
1 Files Affected:
- (modified) clang/unittests/Sema/CMakeLists.txt (+4-1)
``````````diff
diff --git a/clang/unittests/Sema/CMakeLists.txt b/clang/unittests/Sema/CMakeLists.txt
index acc76c932afeb..51d49006f57ff 100644
--- a/clang/unittests/Sema/CMakeLists.txt
+++ b/clang/unittests/Sema/CMakeLists.txt
@@ -1,4 +1,7 @@
-add_clang_unittest(SemaTests
+# There are only a small number of tests here,
+# allow running them without building all of
+# AllClangUnitTests.
+add_distinct_clang_unittest(SemaTests
ExternalSemaSourceTest.cpp
CodeCompleteTest.cpp
HeuristicResolverTest.cpp
``````````
</details>
https://github.com/llvm/llvm-project/pull/155548
More information about the cfe-commits
mailing list