Skip to content

Commit 98e5091

Browse files
style(iwyu): add all missing includes found by the tool
Signed-off-by: Ingo Müller <ingomueller@google.com>
1 parent 916e9b4 commit 98e5091

70 files changed

Lines changed: 367 additions & 73 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

export/planloader/planloader.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,13 @@
22

33
#include "planloader.h"
44

5+
#include <absl/status/status.h>
6+
#include <absl/status/statusor.h>
7+
#include <substrait/proto/plan.pb.h>
8+
9+
#include <cstring>
510
#include <limits>
11+
#include <string>
612

713
#include "substrait/common/Io.h"
814

export/planloader/planloader.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/* SPDX-License-Identifier: Apache-2.0 */
22

3+
#include <stdint.h>
4+
35
#include "substrait/common/Io.h"
46

57
extern "C" {

export/planloader/tests/PlanLoaderTest.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@
22

33
#include "../planloader.h"
44

5-
#include <gmock/gmock-matchers.h>
5+
#include <gmock/gmock.h>
66
#include <gtest/gtest.h>
77
#include <substrait/proto/plan.pb.h>
88

9-
#include <functional>
9+
#include <string>
10+
11+
#include "substrait/common/Io.h"
1012

1113
namespace io::substrait::textplan {
1214
namespace {

include/substrait/common/Exceptions.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@
22

33
#pragma once
44

5+
#include <fmt/core.h>
56
#include <fmt/format.h>
7+
#include <stddef.h>
68

7-
#include <memory>
8-
#include <utility>
9+
#include <exception>
10+
#include <string>
911

1012
namespace io::substrait::common {
1113
namespace error_code {

include/substrait/common/Io.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
#pragma once
44

5+
#include <absl/log/absl_check.h>
6+
#include <absl/status/status.h>
57
#include <absl/status/statusor.h>
68
#include <substrait/proto/plan.pb.h>
79

include/substrait/expression/DecimalLiteral.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
#include <cstdint>
66
#include <string>
7+
#include <utility>
78

89
namespace substrait::proto {
910
class Expression_Literal_Decimal;

include/substrait/function/Extension.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
#include <vector>
99

1010
#include "substrait/function/Function.h"
11-
#include "substrait/function/FunctionSignature.h"
12-
#include "substrait/type/Type.h"
1311

1412
namespace io::substrait {
1513

include/substrait/function/Function.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22

33
#pragma once
44

5+
#include <memory>
56
#include <optional>
7+
#include <string>
8+
#include <vector>
69

710
#include "substrait/function/FunctionSignature.h"
811
#include "substrait/type/Type.h"

include/substrait/function/FunctionLookup.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@
22

33
#pragma once
44

5+
#include <memory>
6+
#include <string>
7+
#include <utility>
8+
59
#include "substrait/function/Extension.h"
10+
#include "substrait/function/Function.h"
611
#include "substrait/function/FunctionSignature.h"
712

813
namespace io::substrait {

include/substrait/type/Type.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22

33
#pragma once
44

5-
#include <iostream>
5+
#include <stdint.h>
6+
67
#include <memory>
7-
#include <unordered_map>
8+
#include <string>
89
#include <utility>
910
#include <vector>
1011

0 commit comments

Comments
 (0)