Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/llvm/llvm-project.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorMichael Jones <michaelrj@google.com>2022-05-12 21:38:31 +0300
committerMichael Jones <michaelrj@google.com>2022-05-12 21:40:52 +0300
commitdd7f30464bbf28e9d650b1a2cf2abade14bbb8a1 (patch)
tree3429450ed5fb1e9f696fcb11b9707cdf1ecbb841 /utils
parent5890b30105999a137e72e42f3760bebfd77001ca (diff)
[libc] fix uint includes and libc bazel
This patch fixes the includes for the new UInt class so that the api test now passes, additionally it fixes the bazel files to account for the new dependencies. Differential Revision: https://reviews.llvm.org/D125490
Diffstat (limited to 'utils')
-rw-r--r--utils/bazel/llvm-project-overlay/libc/BUILD.bazel10
1 files changed, 9 insertions, 1 deletions
diff --git a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
index 13d4740e0227..9c6c1bc8b4a5 100644
--- a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
@@ -81,11 +81,19 @@ cc_library(
)
cc_library(
+ name = "__support_cpp_uint",
+ hdrs = [
+ "src/__support/CPP/UInt.h",
+ ],
+ deps = [":libc_root","__support_cpp_array"],
+)
+
+cc_library(
name = "__support_cpp_type_traits",
hdrs = [
"src/__support/CPP/TypeTraits.h",
],
- deps = [":libc_root"],
+ deps = [":libc_root","__support_cpp_uint"],
)
cc_library(