[all-commits] [llvm/llvm-project] 7878d9: [clangd] Replace an include with a forward declara...

Nico Weber via All-commits all-commits at lists.llvm.org
Fri Jun 28 04:39:13 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7878d9c0363528c44effe55aae2843fbabb6dd0e
      https://github.com/llvm/llvm-project/commit/7878d9c0363528c44effe55aae2843fbabb6dd0e
  Author: Nico Weber <thakis at chromium.org>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M clang-tools-extra/clangd/index/remote/Client.h

  Log Message:
  -----------
  [clangd] Replace an include with a forward declaration

The real Client.cpp and other users of Client.h (ClangdMain.cpp, Dexp.cpp)
already include index/Index.h, so no effect there.

And UnimplementedClient.cpp only returns `nullptr` and doesn't need
to know the full type.

Makes it possible to compile UnimplementedClient.cpp without having
to wait for clang's tblgen code generators.

No behavior change.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list