[PATCH] D136283: [clang-tools-extra] [clangd] Split huge generated CompletionModel.cpp into smaller files

Michał Górny via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 19 20:01:58 PDT 2022


mgorny added inline comments.


================
Comment at: clang-tools-extra/clangd/CMakeLists.txt:48
 gen_decision_forest(${CMAKE_CURRENT_SOURCE_DIR}/quality/model CompletionModel clang::clangd::Example)
+file(GLOB CompletionModel_files "${CMAKE_CURRENT_BINARY_DIR}/CompletionModel/CompletionModel*.cpp")
 
----------------
Since the file is included, can't you just pass it via variable (i.e. set with `PARENT_SCOPE`)?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D136283/new/

https://reviews.llvm.org/D136283



More information about the cfe-commits mailing list