<commit_before>set(sourcekitdAPI_sources
  CodeCompletionResultsArray.cpp
  CompactArray.cpp
  DocSupportAnnotationArray.cpp
  Requests.cpp
  sourcekitdAPI-Common.cpp
  TokenAnnotationsArray.cpp
)

set(sourcekitdAPI_Darwin_sources
  sourcekitdAPI-XPC.cpp)
set(LLVM_OPTIONAL_SOURCES ${sourcekitdAPI_Darwin_sources})
if(APPLE)
  list(APPEND sourcekitdAPI_sources ${sourcekitdAPI_Darwin_sources})
endif()

add_sourcekit_library(sourcekitdAPI
  ${sourcekitdAPI_sources}
  DEPENDS SourceKitSupport
)
<commit_msg>[SR-1639][SourceKit] Link SwiftLang libraries to sourcekitd<commit_after>set(sourcekitdAPI_sources
  CodeCompletionResultsArray.cpp
  CompactArray.cpp
  DocSupportAnnotationArray.cpp
  Requests.cpp
  sourcekitdAPI-Common.cpp
  TokenAnnotationsArray.cpp
)

set(sourcekitdAPI_Darwin_sources
  sourcekitdAPI-XPC.cpp)
set(LLVM_OPTIONAL_SOURCES ${sourcekitdAPI_Darwin_sources})
if(APPLE)
  list(APPEND sourcekitdAPI_sources ${sourcekitdAPI_Darwin_sources})
endif()

add_sourcekit_library(sourcekitdAPI
  ${sourcekitdAPI_sources}
  DEPENDS
      SourceKitSupport SourceKitSwiftLang
      # Clang dependencies, required by SourceKitSwiftLang
      clangFormat clangToolingCore clangDriver
)

{'fraction_non_alphanumeric': 0.06465155331654072, 'fraction_numerical': 0.0033585222502099076, 'mean_word_length': 7.453900709219858, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '252778', 'n_tokens_mistral': 420, 'n_tokens_neox': 405, 'n_words': 54}