[clang] [clang][unittests] Build the libclang unit tests on Windows (PR #232809)

via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 16 08:52:10 PDT 2026


llvmorg-github-actions[bot] wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: UebelAndre

<details>
<summary>Changes</summary>



---
Full diff: https://github.com/llvm/llvm-project/pull/232809.diff


1 Files Affected:

- (modified) clang/unittests/CMakeLists.txt (+1-3) 


``````````diff
diff --git a/clang/unittests/CMakeLists.txt b/clang/unittests/CMakeLists.txt
index b2fee01649abc..91e1890e6b427 100644
--- a/clang/unittests/CMakeLists.txt
+++ b/clang/unittests/CMakeLists.txt
@@ -97,9 +97,7 @@ add_subdirectory(CodeGen)
 if(HAVE_CLANG_REPL_SUPPORT)
   add_subdirectory(Interpreter)
 endif()
-# FIXME: libclang unit tests are disabled on Windows due
-# to failures, mostly in libclang.VirtualFileOverlay_*.
-if(NOT WIN32 AND CLANG_TOOL_LIBCLANG_BUILD) 
+if(CLANG_TOOL_LIBCLANG_BUILD)
   add_subdirectory(libclang)
 endif()
 add_subdirectory(DirectoryWatcher)

``````````

</details>


https://github.com/llvm/llvm-project/pull/232809


More information about the cfe-commits mailing list