[all-commits] [llvm/llvm-project] ce90b6: [clang][Driver] Expose driver mode detection logic

kadir çetinkaya via All-commits all-commits at lists.llvm.org
Tue Jul 27 05:55:36 PDT 2021


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

  Changed paths:
    M clang/include/clang/Driver/Driver.h
    M clang/lib/Driver/Driver.cpp
    M clang/lib/Tooling/InterpolatingCompilationDatabase.cpp
    M clang/tools/driver/driver.cpp

  Log Message:
  -----------
  [clang][Driver] Expose driver mode detection logic

Also use it in other places that performed it on their own.

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


  Commit: ab714ba056c14bce00ab67cc10e34678f9d77b5a
      https://github.com/llvm/llvm-project/commit/ab714ba056c14bce00ab67cc10e34678f9d77b5a
  Author: Kadir Cetinkaya <kadircet at google.com>
  Date:   2021-07-27 (Tue, 27 Jul 2021)

  Changed paths:
    M clang-tools-extra/clangd/CompileCommands.cpp
    M clang-tools-extra/clangd/test/did-change-configuration-params.test
    M clang-tools-extra/clangd/unittests/BackgroundIndexTests.cpp
    M clang-tools-extra/clangd/unittests/CompileCommandsTests.cpp

  Log Message:
  -----------
  Revert "Revert "[clangd] Canonicalize compile flags before applying edits""

Set driver mode before parsing arglist.

Depends on D106789.

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


  Commit: 259e365deaa3a6920b30f49e3d03d3508f1d4900
      https://github.com/llvm/llvm-project/commit/259e365deaa3a6920b30f49e3d03d3508f1d4900
  Author: Kadir Cetinkaya <kadircet at google.com>
  Date:   2021-07-27 (Tue, 27 Jul 2021)

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

  Log Message:
  -----------
  Revert "Revert "[clangd] Adjust compile flags to contain only the requested file as input""

This reverts commit 04e21fbc44c145d5599ef8db9aaf66b159107f33.


Compare: https://github.com/llvm/llvm-project/compare/7dc9d7373186...259e365deaa3


More information about the All-commits mailing list