[PATCH] D106639: [clangd] Adjust compile flags to contain only the requested file as input

Kadir Cetinkaya via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 23 07:19:02 PDT 2021


kadircet updated this revision to Diff 361193.
kadircet marked 2 inline comments as done.
kadircet added a comment.

- push_back instead of insert
- don't parse argv[0] rather than skipping it


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D106639/new/

https://reviews.llvm.org/D106639

Files:
  clang-tools-extra/clangd/CompileCommands.cpp
  clang-tools-extra/clangd/CompileCommands.h
  clang-tools-extra/clangd/GlobalCompilationDatabase.cpp
  clang-tools-extra/clangd/test/did-change-configuration-params.test
  clang-tools-extra/clangd/unittests/CompileCommandsTests.cpp
  clang-tools-extra/clangd/unittests/TestTU.cpp

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


More information about the cfe-commits mailing list