gecko-dev/mfbt
Jon Coppeard 4055d681e6 Bug 1730534 - Part 1: Assert state of SegmentedVector iterator is valid r=mccr8
The next patches remove elements from a segmented vector that is being
iterated. This patch adds assertions to ensure that we don't attempt to use an
iterator that points to a removed element.

The assertions are added to Done() because all the other methods call that.

Differential Revision: https://phabricator.services.mozilla.com/D125426
2021-09-27 16:41:51 +00:00
..
double-conversion
lz4
tests Bug 1725145 - Preparation for the hybrid build env. r=necko-reviewers,firefox-build-system-reviewers,valentin,glandium 2021-08-25 10:46:17 +00:00
Algorithm.h
Alignment.h
AllocPolicy.h
AlreadyAddRefed.h Bug 1729598 - Replace MOZ_MUST_USE_TYPE with [[nodiscard]]. r=static-analysis-reviewers,andi 2021-09-15 05:10:51 +00:00
Array.h Bug 1624717 - Copy release mode bounds checking from nsTArray to Array r=glandium 2021-09-09 13:29:18 +00:00
ArrayUtils.h
Assertions.cpp Bug 1624717 - Copy release mode bounds checking from nsTArray to Array r=glandium 2021-09-09 13:29:18 +00:00
Assertions.h Bug 1725008 - Implement FuzzingFunctions.crash() r=glandium,mccr8 2021-09-15 18:24:04 +00:00
AtomicBitfields.h
Atomics.h
Attributes.h Bug 1729598 - Remove now-unused MustUseChecker and MOZ_MUST_USE_TYPE attribute. r=static-analysis-reviewers,andi 2021-09-15 05:10:51 +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
EnumeratedArray.h
EnumeratedRange.h Bug 1730774 part 1: Give EnumeratedRange.h an include for Assertions.h, since it includes MOZ_ASSERT statements. r=TYLin 2021-09-14 22:06:22 +00:00
EnumSet.h
EnumTypeTraits.h
fallible.h
FastBernoulliTrial.h
FloatingPoint.cpp
FloatingPoint.h
FStream.h
FunctionRef.h
FunctionTypeTraits.h
HashFunctions.cpp
HashFunctions.h Bug 1341265 - Part 11: Optimise Set.prototype.has for objects in CacheIR. r=iain 2021-08-10 09:55:22 +00:00
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
moz.build Bug 1725145 - Preparation for the hybrid build env. r=necko-reviewers,firefox-build-system-reviewers,valentin,glandium 2021-08-25 10:46:17 +00:00
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 Bug 1729598 - Replace MOZ_MUST_USE_TYPE with [[nodiscard]]. r=static-analysis-reviewers,andi 2021-09-15 05:10:51 +00:00
ResultExtensions.h Bug 1729598 - Replace MOZ_MUST_USE_TYPE with [[nodiscard]]. r=static-analysis-reviewers,andi 2021-09-15 05:10:51 +00:00
ResultVariant.h
ReverseIterator.h
RollingMean.h
Saturate.h
Scoped.h
ScopeExit.h Bug 1725572 - Part 1: Support move-only closures in ScopeExit, r=glandium 2021-09-23 18:54:31 +00:00
SegmentedVector.h Bug 1730534 - Part 1: Assert state of SegmentedVector iterator is valid r=mccr8 2021-09-27 16:41:51 +00:00
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
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