gecko-dev/mfbt
Tom Ritter 73764ca6a5 Bug 1656896 - Improve the Tainting macros and add unit tests r=froydnj
The patch:
 - Changes from an explicit capture in MOZ_VALIDATE_AND_GET_HELPER3/MOZ_IS_VALID
   to a default capture, to support referencing local variables in conditions.
 - Moves things around in Tainting.h and adds comments
 - Adds unit tests for the macros

Differential Revision: https://phabricator.services.mozilla.com/D85889
2020-08-07 19:14:22 +00:00
..
double-conversion
lz4 Backed out changeset 6b53d90ee8b4 (bug 1656894) for asan bustage on xxhash.h. CLOSED TREE 2020-08-03 22:53:58 +03:00
tests Bug 1656896 - Improve the Tainting macros and add unit tests r=froydnj 2020-08-07 19:14:22 +00:00
Algorithm.h Bug 1626267 - fix build bustage r=bustage-fix on a CLOSED TREE 2020-04-01 19:29:19 +03:00
Alignment.h Bug 1325771 - mfbt: Reorder parameters for MOZ_ALIGNED_DECL r=jwalden 2020-06-03 18:31:06 +00:00
AllocPolicy.h
AlreadyAddRefed.h
Array.h Bug 1653335 - Replace MakeSpan uses by constructor calls. r=froydnj 2020-08-07 07:49:47 +00:00
ArrayUtils.h Bug 1625138 - Part 41: Remove no longer needed includes for mozilla/TypeTraits. r=froydnj 2020-03-28 16:00:09 +00:00
Assertions.cpp Bug 1646171 - Fix vsnprintf complaint in Assertions.cpp r=froydnj 2020-06-16 21:26:16 +00:00
Assertions.h Bug 1652914 - Part 2: Remove unused MOZ_STATIC_ASSERT macro. r=jwalden 2020-07-17 02:48:36 +00:00
Atomics.h Bug 1625138 - Part 41: Remove no longer needed includes for mozilla/TypeTraits. r=froydnj 2020-03-28 16:00:09 +00:00
Attributes.h Bug 1651323 - Add MOZ_LIFETIME_BOUND attribute. r=andi 2020-07-10 12:16:13 +00:00
BinarySearch.h
BloomFilter.h
Buffer.h Bug 1653335 - Remove uses of MakeSpan in return statements. r=froydnj 2020-08-07 07:42:50 +00:00
BufferList.h Bug 1625138 - Part 41: Remove no longer needed includes for mozilla/TypeTraits. r=froydnj 2020-03-28 16:00:09 +00:00
Casting.h Bug 1625138 - Part 41: Remove no longer needed includes for mozilla/TypeTraits. r=froydnj 2020-03-28 16:00:09 +00:00
ChaosMode.cpp
ChaosMode.h
Char16.h
CheckedInt.h Bug 1519636 - Reformat recent changes to the Google coding style r=jgilbert 2020-04-05 13:34:58 +00:00
CompactPair.h Bug 1625138 - Part 41: Remove no longer needed includes for mozilla/TypeTraits. r=froydnj 2020-03-28 16:00:09 +00:00
Compiler.h
Compression.cpp Bug 1653335 - Remove uses of MakeSpan in return statements. r=froydnj 2020-08-07 07:42:50 +00:00
Compression.h
DbgMacro.h Bug 1653335 - Replace MakeSpan uses by constructor calls. r=froydnj 2020-08-07 07:49:47 +00:00
DebugOnly.h
DefineEnum.h Bug 1626772 - Fixes for gcc 9 warnings r=botond 2020-04-10 20:40:03 +00:00
DoublyLinkedList.h
EndianUtils.h Bug 1519636 - Reformat recent changes to the Google coding style r=andi 2020-07-04 09:38:43 +00:00
EnumSet.h Bug 1657455 - Give EnumSet an assignment operator r=sg 2020-08-06 20:40:37 +00:00
EnumTypeTraits.h Bug 1656034 - Add UnderlyingValue() to mfbt. - r=froydnj 2020-07-31 23:04:44 +00:00
EnumeratedArray.h Bug 1626197 - Remove custom copy/move operations on EnumeratedArray. r=froydnj 2020-03-31 13:17:21 +00:00
EnumeratedRange.h
FStream.h
FastBernoulliTrial.h
FloatingPoint.cpp
FloatingPoint.h Bug 1627285 - Check for NaN before std::min/max() in DOMQuad and DOMRect. r=emilio,jwalden 2020-04-07 22:27:36 +00:00
FunctionRef.h Bug 1624495 - Support move only arguments such as UniquePtr in FunctionRef. r=botond 2020-05-21 01:56:57 +00:00
FunctionTypeTraits.h
HashFunctions.cpp
HashFunctions.h Bug 1433142 - Add support for hashing enum values. r=jwalden 2020-05-27 23:44:51 +00:00
HashTable.h Bug 1433142 - Add support for hashing enum values. r=jwalden 2020-05-27 23:44:51 +00:00
HelperMacros.h
InitializedOnce.h Bug 1647647 - Add InitializedOnce::ref methods. r=froydnj 2020-06-25 13:12:47 +00:00
IntegerPrintfMacros.h
IntegerRange.h Bug 1645429 - Use std::reverse_iterator instead of mozilla::ReverseIterator where possible. r=froydnj 2020-06-16 10:14:01 +00:00
IntegerTypeTraits.h Bug 1625138 - Part 41: Remove no longer needed includes for mozilla/TypeTraits. r=froydnj 2020-03-28 16:00:09 +00:00
JSONWriter.cpp
JSONWriter.h Bug 1512991 - Add JsonWriteFunc::Write to take string length. r=botond 2020-05-08 16:24:31 +00:00
JsRust.h
Latin1.h Bug 1625138 - Part 41: Remove no longer needed includes for mozilla/TypeTraits. r=froydnj 2020-03-28 16:00:09 +00:00
Likely.h
LinkedList.h Bug 1620113 - part1 : support `contain` and `length` for LinkedList. r=froydnj 2020-03-18 22:14:59 +00:00
MacroArgs.h
MacroForEach.h
MathAlgorithms.h Bug 1625473: Use type traits for AbsReturnType. r=froydnj 2020-03-28 16:07:06 +00:00
Maybe.h Bug 1648044 - Add Maybe<T&>::refEquals methods. r=froydnj 2020-06-25 15:09:58 +00:00
MaybeOneOf.h
MemoryChecking.h
MemoryReporting.h
NonDereferenceable.h Bug 1625138 - Part 41: Remove no longer needed includes for mozilla/TypeTraits. r=froydnj 2020-03-28 16:00:09 +00:00
NotNull.h Bug 1648452 - Make construction of NotNull work with MovingNotNull of derived-type. r=froydnj 2020-06-25 13:10:08 +00:00
Opaque.h Bug 1625138 - Part 16: Replace mozilla::IsIntegral with std::is_integral. r=froydnj 2020-03-28 13:57:15 +00:00
OperatorNewExtensions.h
Path.h
PodOperations.h Bug 1628715 - Part 15: Replace MOZ_NONNULL_RETURN by returning NotNull<elem_type*>. r=xpcom-reviewers,necko-reviewers,dragana,nika 2020-04-24 13:35:27 +00:00
Poison.cpp Bug 1629429 - Removing optional second argument in static_assert() r=sylvestre 2020-05-02 21:51:13 +00:00
Poison.h
RandomNum.cpp
RandomNum.h
Range.h Bug 1653335 - Get rid of MakeSpan functions. r=froydnj 2020-08-07 07:50:04 +00:00
RangedArray.h Bug 1652561 - Remote Win32k calls in nsLookAndFeel::GetFontImpl() r=emilio,geckoview-reviewers,agi,froydnj 2020-07-31 16:21:44 +00:00
RangedPtr.h Bug 1607940 - Stand up webgl.out-of-process:true path. r=handyman,nika,froydnj 2020-07-21 22:56:52 +00:00
ReentrancyGuard.h Bug 1223932 - delete guard object uses from the tree; r=jwalden 2020-07-30 14:22:38 +00:00
RefCountType.h
RefCounted.h Bug 1626884 - Make RC non-copyable and declare operator= only in debug builds. r=froydnj 2020-04-06 09:17:34 +00:00
RefPtr.h
Result.h Bug 1654564 - Fix documentation of requirements on target in MOZ_TRY_VAR. r=froydnj 2020-08-04 08:50:26 +00:00
ResultExtensions.h Bug 1656041 - Part 2: Return a struct from GetFrameFromDirection r=emilio 2020-08-04 15:23:47 +00:00
ReverseIterator.h Bug 1646391 - Simplify ReverseIterator. r=froydnj 2020-06-18 07:49:16 +00:00
RollingMean.h Bug 1625138 - Part 41: Remove no longer needed includes for mozilla/TypeTraits. r=froydnj 2020-03-28 16:00:09 +00:00
SHA1.cpp
SHA1.h
SPSCQueue.h Bug 1648541 - Rename details namespace in SPSCQueue r=froydnj 2020-06-25 19:30:52 +00:00
STYLE
Saturate.h Bug 1625138 - Part 41: Remove no longer needed includes for mozilla/TypeTraits. r=froydnj 2020-03-28 16:00:09 +00:00
ScopeExit.h Bug 1223932 - delete guard object uses from the tree; r=jwalden 2020-07-30 14:22:38 +00:00
Scoped.h Bug 1223932 - delete guard object uses from the tree; r=jwalden 2020-07-30 14:22:38 +00:00
SegmentedVector.h Bug 1631274 - Make SegmentedVector::InfallibleAppend failures into OOM crashes. r=glandium 2020-04-28 14:00:21 +00:00
SharedLibrary.h
SmallPointerArray.h
Span.h Bug 1653335 - Get rid of MakeSpan functions. r=froydnj 2020-08-07 07:50:04 +00:00
SplayTree.h
Sprintf.h
StaticAnalysisFunctions.h
TaggedAnonymousMemory.cpp
TaggedAnonymousMemory.h
Tainting.h Bug 1656896 - Improve the Tainting macros and add unit tests r=froydnj 2020-08-07 19:14:22 +00:00
TemplateLib.h Bug 1625138 - Part 26: Replace mozilla::Conditional with std::conditional. r=froydnj 2020-03-28 13:57:18 +00:00
TextUtils.h Bug 1625138 - Part 41: Remove no longer needed includes for mozilla/TypeTraits. r=froydnj 2020-03-28 16:00:09 +00:00
ThreadLocal.h Bug 1625138 - Part 41: Remove no longer needed includes for mozilla/TypeTraits. r=froydnj 2020-03-28 16:00:09 +00:00
ThreadSafeWeakPtr.h Bug 1625138 - Part 41: Remove no longer needed includes for mozilla/TypeTraits. r=froydnj 2020-03-28 16:00:09 +00:00
ToString.h
TsanOptions.h Bug 1519636 - Reformat recent changes to the Google coding style r=jgilbert 2020-04-05 13:34:58 +00:00
Tuple.h Bug 1345842 - Add Ignore to allow ignore elements in Tie. r=froydnj 2020-03-31 12:36:22 +00:00
TypeTraits.h Bug 1625138 - Part 40: Replace remaining mozilla::IsSame with std::is_same. r=froydnj 2020-03-28 13:57:21 +00:00
TypedEnumBits.h
Types.h
UniquePtr.h Bug 1625138 - Part 41: Remove no longer needed includes for mozilla/TypeTraits. r=froydnj 2020-03-28 16:00:09 +00:00
UniquePtrExtensions.cpp
UniquePtrExtensions.h Bug 1519636 - Reformat recent changes to the Google coding style r=andi 2020-07-04 09:38:43 +00:00
Unused.cpp
Unused.h
Utf8.cpp
Utf8.h
Variant.h Bug 1625138 - Part 41: Remove no longer needed includes for mozilla/TypeTraits. r=froydnj 2020-03-28 16:00:09 +00:00
Vector.h Bug 1653335 - Remove uses of MakeSpan in return statements. r=froydnj 2020-08-07 07:42:50 +00:00
WeakPtr.h Bug 1519636 - Reformat recent changes to the Google coding style r=andi 2020-08-02 15:29:15 +00:00
WindowsVersion.h
WrappingOperations.h Bug 1625138 - Part 41: Remove no longer needed includes for mozilla/TypeTraits. r=froydnj 2020-03-28 16:00:09 +00:00
XorShift128PlusRNG.h
fallible.h
moz.build Bug 1223932 - remove mfbt/GuardObjects.h; r=jwalden 2020-07-31 18:58:32 +00:00