[PATCH] D115425: [clangd] Generate ConfigFragment/YAML/docs from one tablegen source

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 8 22:17:57 PST 2021


sammccall created this revision.
Herald added subscribers: usaxena95, kadircet, arphaman, mgorny.
sammccall requested review of this revision.
Herald added subscribers: cfe-commits, MaskRay, ilya-biryukov.
Herald added projects: clang, clang-tools-extra.

The idea is to reduce the number of places that need to be updated as we add
more config settings, encourage regular patterns, and make cross-cutting changes
easier (e.g. reformat docs).


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D115425

Files:
  clang-tools-extra/clangd/CMakeLists.txt
  clang-tools-extra/clangd/Config.td
  clang-tools-extra/clangd/ConfigCompile.cpp
  clang-tools-extra/clangd/ConfigFragment.h
  clang-tools-extra/clangd/ConfigYAML.cpp
  clang-tools-extra/clangd/unittests/ConfigYAMLTests.cpp
  clang/utils/TableGen/CMakeLists.txt
  clang/utils/TableGen/ClangdConfigEmitter.cpp
  clang/utils/TableGen/TableGen.cpp
  clang/utils/TableGen/TableGenBackends.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115425.393029.patch
Type: text/x-patch
Size: 46084 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211209/65443a18/attachment-0001.bin>


More information about the cfe-commits mailing list