gecko-dev/mfbt
Chris Peterson 2d846b7c8c Bug 1894147 - Fix C++20 std::memory_order build errors in MPSCQueue.h. r=xpcom-reviewers,emilio
C++20 renamed the `std::memory_order::memory_order_*` enum constants to `std::memory_order::*`.

https://en.cppreference.com/w/cpp/atomic/memory_order

C++17 supports:

`std::memory_order_relaxed`
`std::memory_order::memory_order_relaxed`

But C++20 supports:

`std::memory_order_relaxed`
`std::memory_order::memory_order::relaxed`

Thus, `std::memory_order_relaxed` is the only shared name if we want to support compiling Firefox with -std=c++17 and -std=c++20 as we transition mozilla-central from C++17 to C++20.

Differential Revision: https://phabricator.services.mozilla.com/D208963
2024-04-30 15:37:35 +00:00
..
double-conversion
lz4
tests Bug 1893432 - Introduce mfbt/MPSCQueue r=padenot 2024-04-25 13:33:32 +00:00
Algorithm.h
Alignment.h
AllocPolicy.h
AlreadyAddRefed.h
Array.h
ArrayUtils.h Bug 1640839 - Add some helpers for enums to calculate the size and use it in EnumeratedArray. r=glandium,jgilbert,media-playback-reviewers,padenot 2024-03-02 07:50:19 +00:00
Assertions.cpp
Assertions.h Bug 1893567 - Add MOZ_NOMERGE to Window MOZ_REALLY_CRASH implementation. r=gsvelto 2024-04-26 12:40:46 +00:00
AtomicBitfields.h
Atomics.h
Attributes.h Bug 1875481 - Part 1: move MOZ_CAN_RUN_SCRIPT_BOUNDARY_LAMBDA into a shared header r=handyman 2024-04-10 00:15:46 +00:00
BinarySearch.h
BitSet.h
BloomFilter.h
Buffer.h
BufferList.h
Casting.h
ChaosMode.cpp
ChaosMode.h
Char16.h
CheckedInt.h
CompactPair.h
Compiler.h
Compression.cpp
Compression.h
DbgMacro.h
DebugOnly.h
DefineEnum.h
DoublyLinkedList.h
EndianUtils.h
EnumSet.h Bug 1873140 - Avoid using invalid enum values during EnumSet iteration; r=glandium 2024-02-02 09:43:10 +00:00
EnumTypeTraits.h Bug 1640839 - Add some helpers for enums to calculate the size and use it in EnumeratedArray. r=glandium,jgilbert,media-playback-reviewers,padenot 2024-03-02 07:50:19 +00:00
EnumeratedArray.h Bug 1640839 - Add some helpers for enums to calculate the size and use it in EnumeratedArray. r=glandium,jgilbert,media-playback-reviewers,padenot 2024-03-02 07:50:19 +00:00
EnumeratedRange.h
FStream.h
FastBernoulliTrial.h
FloatingPoint.cpp
FloatingPoint.h
FunctionRef.h Bug 1519636 - Reformat recent changes to the Google coding style r=emilio,media-playback-reviewers,padenot 2024-04-22 16:00:09 +00:00
FunctionTypeTraits.h
Fuzzing.h
HashFunctions.cpp
HashFunctions.h Bug 1718516 - Fix AddToHash of 64-bits numbers on 32-bits platforms. r=nika,anba 2024-01-09 01:48:31 +00:00
HashTable.h
HelperMacros.h
InitializedOnce.h
IntegerRange.h
IntegerTypeTraits.h
JSONWriter.cpp
JSONWriter.h
JsRust.h
Latin1.h
Likely.h
LinkedList.h
Literals.h
MPSCQueue.h Bug 1894147 - Fix C++20 std::memory_order build errors in MPSCQueue.h. r=xpcom-reviewers,emilio 2024-04-30 15:37:35 +00:00
MacroArgs.h
MacroForEach.h
MathAlgorithms.h
Maybe.h Bug 1601251 - Prohibit copies and moves on Maybe<T> where such operations are prohibited on T. r=glandium 2024-03-26 08:00:56 +00:00
MaybeOneOf.h
MaybeStorageBase.h
MemoryChecking.h
MemoryReporting.h
MoveOnlyFunction.h
MruCache.h
NeverDestroyed.h
NonDereferenceable.h
NotNull.h
Opaque.h
OperatorNewExtensions.h
PairHash.h
Path.h
PodOperations.h
Poison.cpp Bug 1860247 - Poison.cpp: do not use 'else' after 'return'. r=sylvestre 2024-01-31 12:19:32 +00:00
Poison.h
RandomNum.cpp
RandomNum.h
Range.h Bug 1875252 - Add MOZ_ASSERT_DEBUG_OR_FUZZING and use for Range/RangedPtr. r=nika 2024-02-06 21:31:19 +00:00
RangedArray.h
RangedPtr.h Bug 1875252 - Add MOZ_ASSERT_DEBUG_OR_FUZZING and use for Range/RangedPtr. r=nika 2024-02-06 21:31:19 +00:00
ReentrancyGuard.h
RefCountType.h
RefCounted.h
RefPtr.h Bug 1880192 - [1/5] MozPromise.h: some C++17 modernizations r=xpcom-reviewers,emilio 2024-03-05 17:22:21 +00:00
Result.h
ResultExtensions.h
ResultVariant.h
ReverseIterator.h
RollingMean.h
SHA1.cpp
SHA1.h
SPSCQueue.h
STYLE
Saturate.h
ScopeExit.h
SegmentedVector.h Bug 1869256 - Add move assignment operator for SegmentedVector r=mccr8 2023-12-11 17:06:08 +00:00
SharedLibrary.h
SmallPointerArray.h
Span.h Bug 1891497 - Add mozilla::Span constructor for EnumeratedArray. r=glandium 2024-04-15 21:17:51 +00:00
SplayTree.h
StaticAnalysisFunctions.h
TaggedAnonymousMemory.cpp Bug 1866606 - Remove MozTaggedMemoryIsSupported. r=jld 2023-12-23 03:36:53 +00:00
TaggedAnonymousMemory.h Bug 1866606 - Remove MozTaggedMemoryIsSupported. r=jld 2023-12-23 03:36:53 +00:00
Tainting.h
TemplateLib.h
TextUtils.h Bug 1880008 - Add char8_t string overloads to MFBT string functions when compiling with -std=c++20. r=xpcom-reviewers,emilio 2024-02-14 01:33:31 +00:00
ThreadLocal.h Bug 1880420 - Move __thread detection to moz.configure r=glandium 2024-02-28 11:11:17 +00:00
ThreadSafeWeakPtr.h
ThreadSafety.h
ToString.h
Try.h
TsanOptions.h
TypedEnumBits.h
Types.h
UniquePtr.h Bug 1873769 - Add TempPtrToSetter(UniquePtr<T>*) -> T**-ish for safe out-ptr RAII. r=mccr8 2024-01-26 21:05:30 +00:00
UniquePtrExtensions.cpp
UniquePtrExtensions.h Bug 1873131 - Add some assertions to UniqueFileHandle. r=nika,tsmith 2024-01-06 02:54:20 +00:00
Unused.cpp
Unused.h
Utf8.cpp
Utf8.h Bug 1880008 - Add char8_t string overloads to MFBT string functions when compiling with -std=c++20. r=xpcom-reviewers,emilio 2024-02-14 01:33:31 +00:00
Variant.h
Vector.h
WasiAtomic.h
WeakPtr.h
WindowsVersion.h
WrappingOperations.h
XorShift128PlusRNG.h
fallible.h
moz.build Bug 1893432 - Introduce mfbt/MPSCQueue r=padenot 2024-04-25 13:33:32 +00:00