[all-commits] [llvm/llvm-project] 68fe06: [clangd] Disable backend-releated filelist compile...

Haojian Wu via All-commits all-commits at lists.llvm.org
Wed Jan 4 04:05:04 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 68fe0674187d1b44058c916620a6babfa626c947
      https://github.com/llvm/llvm-project/commit/68fe0674187d1b44058c916620a6babfa626c947
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2023-01-04 (Wed, 04 Jan 2023)

  Changed paths:
    M clang-tools-extra/clangd/Compiler.cpp
    M clang-tools-extra/clangd/unittests/DiagnosticsTests.cpp

  Log Message:
  -----------
  [clangd] Disable backend-releated filelist compiler options.

These options doesn't affect the AST generation, and clang will crash
(CreateOrDie in ASTContext) immedidately when the provided file are not existed.

Disable them in clangd to make clangd more robust.

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




More information about the All-commits mailing list