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
+1
View File
@@ -4,6 +4,7 @@
#include "toolchain/parse/context.h"
#include <initializer_list>
#include <optional>
#include "common/check.h"
+2
View File
@@ -6,6 +6,8 @@
#include "toolchain/parse/dump.h"
#include <string>
#include "common/raw_string_ostream.h"
#include "toolchain/lex/dump.h"
+2
View File
@@ -2,6 +2,8 @@
// Exceptions. See /LICENSE for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#include <initializer_list>
#include <optional>
#include <tuple>
#include <typeinfo>
#include <utility>
@@ -2,6 +2,8 @@
// Exceptions. See /LICENSE for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#include <array>
#include "toolchain/lex/token_kind.h"
#include "toolchain/parse/context.h"
#include "toolchain/parse/handle.h"
@@ -2,6 +2,8 @@
// Exceptions. See /LICENSE for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#include <optional>
#include "toolchain/parse/context.h"
#include "toolchain/parse/handle.h"
+2
View File
@@ -2,6 +2,8 @@
// Exceptions. See /LICENSE for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#include <optional>
#include "toolchain/parse/context.h"
#include "toolchain/parse/handle.h"
+3
View File
@@ -4,6 +4,9 @@
#include "toolchain/parse/precedence.h"
#include <initializer_list>
#include <optional>
#include "common/check.h"
namespace Carbon::Parse {
+3
View File
@@ -4,6 +4,9 @@
#include "toolchain/parse/tree_and_subtrees.h"
#include <tuple>
#include <utility>
#include "toolchain/lex/token_index.h"
namespace Carbon::Parse {
+2
View File
@@ -8,6 +8,8 @@
#include <gtest/gtest.h>
#include <forward_list>
#include <optional>
#include <string>
#include "common/raw_string_ostream.h"
#include "toolchain/base/shared_value_stores.h"