Add missing standard library header inclusions (#5316)

Discovered by clang-tidy.
This commit is contained in:
Thomas Köppe
2025-04-17 15:37:57 +00:00
committed by GitHub
parent f45a632d77
commit bf32da8dad
122 changed files with 302 additions and 0 deletions
+2
View File
@@ -5,6 +5,8 @@
#include "toolchain/language_server/context.h"
#include <memory>
#include <optional>
#include <utility>
#include "common/check.h"
#include "common/raw_string_ostream.h"
@@ -3,6 +3,9 @@
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#include <optional>
#include <string>
#include <utility>
#include <vector>
#include "common/check.h"
#include "toolchain/language_server/handle.h"
@@ -2,6 +2,8 @@
// Exceptions. See /LICENSE for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#include <utility>
#include "toolchain/language_server/handle.h"
namespace Carbon::LanguageServer {
@@ -2,6 +2,8 @@
// Exceptions. See /LICENSE for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#include <cstddef>
#include "toolchain/language_server/handle.h"
namespace Carbon::LanguageServer {
@@ -2,6 +2,10 @@
// Exceptions. See /LICENSE for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#include <string>
#include <tuple>
#include <vector>
#include "toolchain/language_server/handle.h"
namespace Carbon::LanguageServer {
@@ -4,6 +4,8 @@
#include "toolchain/language_server/incoming_messages.h"
#include <utility>
#include "common/ostream.h"
#include "common/raw_string_ostream.h"
#include "toolchain/language_server/handle.h"
@@ -4,6 +4,8 @@
#include "toolchain/language_server/language_server.h"
#include <memory>
#include "clang-tools-extra/clangd/LSPBinder.h"
#include "clang-tools-extra/clangd/Transport.h"
#include "clang-tools-extra/clangd/support/Logger.h"