Skip to content

Commit ef900d7

Browse files
Update libc/src/__support/CPP/atomic.h
Co-authored-by: Nick Desaulniers <[email protected]>
1 parent 374a6a5 commit ef900d7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

libc/src/__support/CPP/atomic.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,8 @@ template <typename T> struct Atomic {
6464

6565
LIBC_INLINE static T *addressof(T &ref) { return __builtin_addressof(ref); }
6666

67-
// require types that are 1, 2, 4, 8, or 16 bytes in length to be aligned to
68-
// at least their size to be potentially
69-
// used lock-free
67+
// Require types that are 1, 2, 4, 8, or 16 bytes in length to be aligned to
68+
// at least their size to be potentially used lock-free.
7069
LIBC_INLINE_VAR static constexpr size_t MIN_ALIGNMENT =
7170
(sizeof(T) & (sizeof(T) - 1)) || (sizeof(T) > 16) ? 0 : sizeof(T);
7271

0 commit comments

Comments
 (0)