[all-commits] [llvm/llvm-project] cc4b86: [clangd] Fix tests for implicit C function declara...

Aleksandr Platonov via All-commits all-commits at lists.llvm.org
Thu Sep 1 13:47:38 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cc4b86cfc01c3a923324c4bf1485ae9c8021e0a1
      https://github.com/llvm/llvm-project/commit/cc4b86cfc01c3a923324c4bf1485ae9c8021e0a1
  Author: Aleksandr Platonov <platonov.aleksandr at huawei.com>
  Date:   2022-09-01 (Thu, 01 Sep 2022)

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

  Log Message:
  -----------
  [clangd] Fix tests for implicit C function declaration

clangd code fixes at D122983 were not right.
We need to check that clangd provides IncludeFixer fixits for implicit function declaration even if this is not an error (e.g. implicit function declaration in C89).

Reviewed By: sammccall

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




More information about the All-commits mailing list