[PATCH] D82606: [clangd] Config: config struct propagated through Context

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 25 15:18:11 PDT 2020


sammccall created this revision.
sammccall added reviewers: hokein, kadircet.
Herald added subscribers: cfe-commits, usaxena95, arphaman, jkorous, MaskRay, ilya-biryukov, mgorny.
Herald added a project: clang.

This introduces the "semantic form" of config exposed to features,
contrasted with the "syntactic form" exposed to users in e9fb1506b83d <https://reviews.llvm.org/rGe9fb1506b83d001082dc535af12acf45050a527c>.

The two are not connected, CompiledFragment and Provider will bridge that gap.
Nor is configuration actually set: that needs changes to ClangdServer,
TUScheduler, and BackgroundQueue.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D82606

Files:
  clang-tools-extra/clangd/CMakeLists.txt
  clang-tools-extra/clangd/CompileCommands.cpp
  clang-tools-extra/clangd/Config.cpp
  clang-tools-extra/clangd/Config.h
  clang-tools-extra/clangd/unittests/CompileCommandsTests.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82606.273528.patch
Type: text/x-patch
Size: 6133 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200625/b67dad50/attachment.bin>


More information about the cfe-commits mailing list