[PATCH] D106669: [clangd] Unify compiler invocation creation

Kadir Cetinkaya via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 23 08:00:18 PDT 2021


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

Background-indexing is fine, because it uses GlobalCompilationDatabase
to fetch the compile commands (hence uses CommandMangler), and creates
invocation through buildCompilerInvocation.

Depends on D106639 <https://reviews.llvm.org/D106639>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D106669

Files:
  clang-tools-extra/clangd/CompileCommands.h
  clang-tools-extra/clangd/Compiler.cpp
  clang-tools-extra/clangd/Compiler.h
  clang-tools-extra/clangd/indexer/IndexerMain.cpp
  clang-tools-extra/clangd/test/indexer.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106669.361211.patch
Type: text/x-patch
Size: 8270 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210723/c7f8fe92/attachment.bin>


More information about the cfe-commits mailing list