[all-commits] [llvm/llvm-project] d02525: [libc] Add cpp::byte
Guillaume Chatelet via All-commits
all-commits at lists.llvm.org
Sat Oct 22 13:54:34 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d02525cab75161fceb2a4ecb1dd0a5cbac4856ed
https://github.com/llvm/llvm-project/commit/d02525cab75161fceb2a4ecb1dd0a5cbac4856ed
Author: Guillaume Chatelet <gchatelet at google.com>
Date: 2022-10-22 (Sat, 22 Oct 2022)
Changed paths:
M libc/src/__support/CPP/CMakeLists.txt
A libc/src/__support/CPP/cstddef.h
M libc/test/src/__support/CPP/CMakeLists.txt
A libc/test/src/__support/CPP/cstddef_test.cpp
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
Log Message:
-----------
[libc] Add cpp::byte
This provides the equivalent of std::byte.
std::byte is a distinct type that implements the concept of byte as specified in the C++ language definition.
https://en.cppreference.com/w/cpp/types/byte
Differential Revision: https://reviews.llvm.org/D136294
More information about the All-commits
mailing list