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
@@ -8,6 +8,7 @@
#include <fstream>
#include <sstream>
#include <string>
#include "common/ostream.h"
+1
View File
@@ -9,6 +9,7 @@
#include <cstdlib>
#include <fstream>
#include <sstream>
#include <string>
#include <system_error>
namespace Carbon::Testing {
+1
View File
@@ -4,6 +4,7 @@
#include "testing/base/global_exe_path.h"
#include <optional>
#include <string>
#include "common/check.h"
+4
View File
@@ -4,7 +4,11 @@
#include "testing/base/source_gen.h"
#include <algorithm>
#include <array>
#include <numeric>
#include <string>
#include <utility>
#include "common/raw_string_ostream.h"
#include "llvm/ADT/ArrayRef.h"
+3
View File
@@ -2,6 +2,9 @@
// Exceptions. See /LICENSE for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#include <optional>
#include <system_error>
#include "common/bazel_working_dir.h"
#include "common/command_line.h"
#include "common/init_llvm.h"
+2
View File
@@ -7,6 +7,8 @@
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include <string>
#include "common/set.h"
#include "testing/base/global_exe_path.h"
#include "toolchain/driver/driver.h"