Skip to content

Commit 549e55b

Browse files
committed
Temporarily Revert "[clangd] Add Random Forest runtime for code completion."
as a header doesn't appear to have made it into the commit. This reverts commit 9b6765e and followup
1 parent 1f0b436 commit 549e55b

File tree

12 files changed

+0
-706
lines changed

12 files changed

+0
-706
lines changed

clang-tools-extra/clangd/CMakeLists.txt

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ set(LLVM_LINK_COMPONENTS
2828
FrontendOpenMP
2929
Option
3030
)
31-
32-
include(${CMAKE_CURRENT_SOURCE_DIR}/quality/CompletionModel.cmake)
33-
gen_decision_forest(${CMAKE_CURRENT_SOURCE_DIR}/quality/model CompletionModel clang::clangd::Example)
3431

3532
if(MSVC AND NOT CLANG_CL)
3633
set_source_files_properties(CompileCommands.cpp PROPERTIES COMPILE_FLAGS -wd4130) # disables C4130: logical operation on address of string constant
@@ -80,7 +77,6 @@ add_clang_library(clangDaemon
8077
TUScheduler.cpp
8178
URI.cpp
8279
XRefs.cpp
83-
${CMAKE_CURRENT_BINARY_DIR}/CompletionModel.cpp
8480

8581
index/Background.cpp
8682
index/BackgroundIndexLoader.cpp
@@ -121,11 +117,6 @@ add_clang_library(clangDaemon
121117
omp_gen
122118
)
123119

124-
# Include generated CompletionModel headers.
125-
target_include_directories(clangDaemon PUBLIC
126-
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}>
127-
)
128-
129120
clang_target_link_libraries(clangDaemon
130121
PRIVATE
131122
clangAST

clang-tools-extra/clangd/quality/CompletionModel.cmake

Lines changed: 0 additions & 37 deletions
This file was deleted.

clang-tools-extra/clangd/quality/CompletionModelCodegen.py

Lines changed: 0 additions & 290 deletions
This file was deleted.

0 commit comments

Comments
 (0)