[all-commits] [llvm/llvm-project] c77c3d: [clangd] Set correct CWD when using compile_flags.txt

Adam Czachorowski via All-commits all-commits at lists.llvm.org
Fri Jan 15 05:32:18 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c77c3d1d18cdd58989f9d35bbf6c31f5fda0a125
      https://github.com/llvm/llvm-project/commit/c77c3d1d18cdd58989f9d35bbf6c31f5fda0a125
  Author: Adam Czachorowski <adamcz at google.com>
  Date:   2021-01-15 (Fri, 15 Jan 2021)

  Changed paths:
    M clang-tools-extra/clangd/GlobalCompilationDatabase.cpp
    M clang-tools-extra/clangd/unittests/GlobalCompilationDatabaseTests.cpp

  Log Message:
  -----------
  [clangd] Set correct CWD when using compile_flags.txt

This fixes a bug where clangd would attempt to set CWD to the
compile_flags.txt file itself.

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




More information about the All-commits mailing list