diff options
author | Michael Jones <michaelrj@google.com> | 2022-05-12 21:38:31 +0300 |
---|---|---|
committer | Michael Jones <michaelrj@google.com> | 2022-05-12 21:40:52 +0300 |
commit | dd7f30464bbf28e9d650b1a2cf2abade14bbb8a1 (patch) | |
tree | 3429450ed5fb1e9f696fcb11b9707cdf1ecbb841 /utils | |
parent | 5890b30105999a137e72e42f3760bebfd77001ca (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.bazel | 10 |
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( |