We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 859b4f1 commit 3056395Copy full SHA for 3056395
libc/src/__support/block.h
@@ -24,17 +24,6 @@
24
25
namespace LIBC_NAMESPACE_DECL {
26
27
-namespace internal {
28
-// Types of corrupted blocks, and functions to crash with an error message
29
-// corresponding to each type.
30
-enum class BlockStatus {
31
- VALID,
32
- MISALIGNED,
33
- PREV_MISMATCHED,
34
- NEXT_MISMATCHED,
35
-};
36
-} // namespace internal
37
-
38
/// Returns the value rounded down to the nearest multiple of alignment.
39
LIBC_INLINE constexpr size_t align_down(size_t value, size_t alignment) {
40
// Note this shouldn't overflow since the result will always be <= value.
0 commit comments