[all-commits] [llvm/llvm-project] 41e242: [clangd] Unify compiler invocation creation

kadir çetinkaya via All-commits all-commits at lists.llvm.org
Fri Jul 30 06:23:28 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 41e24222861fb5394ab4c7e892a7d7f2914b533e
      https://github.com/llvm/llvm-project/commit/41e24222861fb5394ab4c7e892a7d7f2914b533e
  Author: Kadir Cetinkaya <kadircet at google.com>
  Date:   2021-07-30 (Fri, 30 Jul 2021)

  Changed paths:
    M clang-tools-extra/clangd/CompileCommands.h
    M clang-tools-extra/clangd/Compiler.cpp
    M clang-tools-extra/clangd/Compiler.h
    M clang-tools-extra/clangd/indexer/IndexerMain.cpp
    A clang-tools-extra/clangd/test/indexer.test

  Log Message:
  -----------
  [clangd] Unify compiler invocation creation

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

Depends on D106639.

Differential Revision: https://reviews.llvm.org/D106669




More information about the All-commits mailing list