forked from mirrors/gecko-dev
C++20 deprecated decrement/increment of object of volatile-qualified types, e.g. v++. https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1152r3.html mfbt/SHA1.cpp:400:9 [-Wdeprecated-volatile] compound assignment to object of volatile-qualified type 'volatile unsigned int' is deprecated mfbt/SHA1.cpp:401:9 [-Wdeprecated-volatile] compound assignment to object of volatile-qualified type 'volatile unsigned int' is deprecated mfbt/SHA1.cpp:402:9 [-Wdeprecated-volatile] compound assignment to object of volatile-qualified type 'volatile unsigned int' is deprecated mfbt/SHA1.cpp:403:9 [-Wdeprecated-volatile] compound assignment to object of volatile-qualified type 'volatile unsigned int' is deprecated mfbt/SHA1.cpp:404:9 [-Wdeprecated-volatile] compound assignment to object of volatile-qualified type 'volatile unsigned int' is deprecated shaCompress() has a comment emphasizing the importance of the X array being volatile. I verified that changing `XH(0) += A` to `XH(0) = XH(0) + A` generates the same -S assembly code (for clang -O2 on Apple Silicon). Whether this comment about the volatile code generated by gcc 3.4.3 -O3 in 2012 is still relevant for clang 15 -O2 in 2023 is a different question. Differential Revision: https://phabricator.services.mozilla.com/D165268 |
||
|---|---|---|
| .. | ||
| double-conversion | ||
| lz4 | ||
| tests | ||
| Algorithm.h | ||
| Alignment.h | ||
| AllocPolicy.h | ||
| AlreadyAddRefed.h | ||
| Array.h | ||
| ArrayUtils.h | ||
| Assertions.cpp | ||
| Assertions.h | ||
| AtomicBitfields.h | ||
| Atomics.h | ||
| Attributes.h | ||
| 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 | ||
| EnumeratedArray.h | ||
| EnumeratedRange.h | ||
| EnumSet.h | ||
| EnumTypeTraits.h | ||
| fallible.h | ||
| FastBernoulliTrial.h | ||
| FloatingPoint.cpp | ||
| FloatingPoint.h | ||
| FStream.h | ||
| FunctionRef.h | ||
| FunctionTypeTraits.h | ||
| Fuzzing.h | ||
| HashFunctions.cpp | ||
| HashFunctions.h | ||
| HashTable.h | ||
| HelperMacros.h | ||
| InitializedOnce.h | ||
| IntegerRange.h | ||
| IntegerTypeTraits.h | ||
| JSONWriter.cpp | ||
| JSONWriter.h | ||
| JsRust.h | ||
| Latin1.h | ||
| Likely.h | ||
| LinkedList.h | ||
| MacroArgs.h | ||
| MacroForEach.h | ||
| MathAlgorithms.h | ||
| Maybe.h | ||
| MaybeOneOf.h | ||
| MaybeStorageBase.h | ||
| MemoryChecking.h | ||
| MemoryReporting.h | ||
| MoveOnlyFunction.h | ||
| moz.build | ||
| NonDereferenceable.h | ||
| NotNull.h | ||
| Opaque.h | ||
| OperatorNewExtensions.h | ||
| PairHash.h | ||
| Path.h | ||
| PodOperations.h | ||
| Poison.cpp | ||
| Poison.h | ||
| RandomNum.cpp | ||
| RandomNum.h | ||
| Range.h | ||
| RangedArray.h | ||
| RangedPtr.h | ||
| ReentrancyGuard.h | ||
| RefCounted.h | ||
| RefCountType.h | ||
| RefPtr.h | ||
| Result.h | ||
| ResultExtensions.h | ||
| ResultVariant.h | ||
| ReverseIterator.h | ||
| RollingMean.h | ||
| Saturate.h | ||
| Scoped.h | ||
| ScopeExit.h | ||
| SegmentedVector.h | ||
| SHA1.cpp | ||
| SHA1.h | ||
| SharedLibrary.h | ||
| SmallPointerArray.h | ||
| Span.h | ||
| SplayTree.h | ||
| SPSCQueue.h | ||
| StaticAnalysisFunctions.h | ||
| STYLE | ||
| TaggedAnonymousMemory.cpp | ||
| TaggedAnonymousMemory.h | ||
| Tainting.h | ||
| TemplateLib.h | ||
| TextUtils.h | ||
| ThreadLocal.h | ||
| ThreadSafety.h | ||
| ThreadSafeWeakPtr.h | ||
| ToString.h | ||
| TsanOptions.h | ||
| Tuple.h | ||
| TypedEnumBits.h | ||
| Types.h | ||
| TypeTraits.h | ||
| UniquePtr.h | ||
| UniquePtrExtensions.cpp | ||
| UniquePtrExtensions.h | ||
| Unused.cpp | ||
| Unused.h | ||
| Utf8.cpp | ||
| Utf8.h | ||
| Variant.h | ||
| Vector.h | ||
| WasiAtomic.h | ||
| WeakPtr.h | ||
| WindowsVersion.h | ||
| WrappingOperations.h | ||
| XorShift128PlusRNG.h | ||