Author: Henrich Lauko Date: 2026-10-30T09:57:33+01:00 New Revision: f016606b2b3d3146c526f874fa144a0de6152f61
URL: https://github.com/llvm/llvm-project/commit/f016606b2b3d3146c526f874fa144a0de6152f61 DIFF: https://github.com/llvm/llvm-project/commit/f016606b2b3d3146c526f874fa144a0de6152f61.diff LOG: [clang][CMake] Make clangCodeGen depend on analysis_gen (#236186) clangCodeGen includes the TableGen-generated `TargetLibraryInfo.inc` through `TargetLibraryInfo.h`, but nothing orders it after `analysis_gen`, so a clean `ninja obj.clangCodeGen` fails with "file not found". Add `analysis_gen` to its `DEPENDS`, as LLVMAnalysis and LLVMCore already do. Assisted-by: Claude Code (Opus 5.5). Added: Modified: clang/lib/CodeGen/CMakeLists.txt Removed: ################################################################################ diff --git a/clang/lib/CodeGen/CMakeLists.txt b/clang/lib/CodeGen/CMakeLists.txt index 5a226dab33cff..93790567dcf8b 100644 --- a/clang/lib/CodeGen/CMakeLists.txt +++ b/clang/lib/CodeGen/CMakeLists.txt @@ -173,6 +173,7 @@ add_clang_library(clangCodeGen intrinsics_gen ClangDriverOptions # These generated headers are included transitively. + analysis_gen target_parser_gen LINK_LIBS _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
