Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit a0ac6b4

Browse files
authored
[Impeller] Include cstdint everywhere that uint32_t is used. (#47533)
Sprinkle cstdint everywhere that it's used. Unblocks the next impeller-cmake bump. Ran into include issues during the build for the most recent impeller-cmake bump: bdero/impeller-cmake#20 Going to add an optional libcxx STL build to help avoid stuff like this later (in the AAOS action items).
1 parent 0c53706 commit a0ac6b4

38 files changed

+53
-3
lines changed

impeller/base/allocation.h

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

55
#pragma once
66

7+
#include <cstdint>
78
#include <limits>
89
#include <memory>
910

impeller/compiler/compiler.cc

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

55
#include "impeller/compiler/compiler.h"
66

7+
#include <cstdint>
78
#include <filesystem>
89
#include <memory>
910
#include <optional>

impeller/compiler/compiler_backend.h

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

55
#pragma once
66

7+
#include <cstdint>
78
#include <memory>
89
#include <variant>
910

impeller/compiler/reflector.h

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

55
#pragma once
66

7+
#include <cstdint>
78
#include <memory>
89
#include <optional>
910

impeller/compiler/runtime_stage_data.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#include "impeller/compiler/runtime_stage_data.h"
66

77
#include <array>
8+
#include <cstdint>
89
#include <optional>
910

1011
#include "inja/inja.hpp"

impeller/compiler/source_options.h

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

55
#pragma once
66

7+
#include <cstdint>
78
#include <memory>
89
#include <string>
910
#include <vector>

impeller/compiler/spirv_compiler.h

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

55
#pragma once
66

7+
#include <cstdint>
78
#include <vector>
89

910
#include "flutter/fml/macros.h"

impeller/compiler/spirv_sksl.h

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

55
#pragma once
66

7+
#include <cstdint>
78
#include <memory>
89
#include <utility>
910
#include <variant>

impeller/compiler/switches.h

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

55
#pragma once
66

7+
#include <cstdint>
78
#include <iostream>
89
#include <memory>
910

impeller/compiler/uniform_sorter.cc

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

55
#include "impeller/compiler/uniform_sorter.h"
66

7+
#include <cstdint>
8+
79
namespace impeller {
810

911
std::vector<spirv_cross::ID> SortUniforms(

0 commit comments

Comments
 (0)