gecko-dev/mfbt/tests
Chris Peterson 7bc752e42b Bug 1571631 - Replace MOZ_MUST_USE with [[nodiscard]] in mfbt. r=sg
Also move MOZ_MUST_USE before function declarations' specifiers and return type. While clang and gcc's __attribute__((warn_unused_result)) can appear before, between, or after function specifiers and return types, the [[nodiscard]] attribute must precede the function specifiers.

Depends on D108344

Differential Revision: https://phabricator.services.mozilla.com/D108345
2021-03-17 03:01:21 +00:00
..
gtest Bug 1685679 - Add do_Init function to allow assignment to InitializedOnce variables. r=janv 2021-01-15 11:23:41 +00:00
TestAlgorithm.cpp Bug 1677092: add `constexpr` `AnyOf`. r=sg 2020-11-17 08:30:12 +00:00
TestArray.cpp Bug 1684173 - Add newline character at end of files when missing r=sylvestre,geckoview-reviewers,agi 2021-01-07 08:53:08 +00:00
TestArrayUtils.cpp
TestAtomicBitfields.cpp Bug 1684173 - Add newline character at end of files when missing r=sylvestre,geckoview-reviewers,agi 2021-01-07 08:53:08 +00:00
TestAtomics.cpp
TestBinarySearch.cpp
TestBitSet.cpp Bug 1686219 - Add BitSet::SetAll and ResetAll methods r=heycam 2021-01-20 10:03:53 +00:00
TestBloomFilter.cpp Bug 1690274 - Part 2: Add mozilla::BitBloomFilter. r=sg 2021-02-16 22:07:05 +00:00
TestBufferList.cpp Bug 1679611 - Part 2: Add test for BufferList::RangeLength. r=sfink 2020-12-02 18:48:22 +00:00
TestCasting.cpp
TestCeilingFloor.cpp
TestCheckedInt.cpp Bug 1519636 - Reformat with clang-format-11 to the Google coding style r=andi,sg,geckoview-reviewers,snorp 2020-11-18 09:05:59 +00:00
TestCompactPair.cpp
TestCountPopulation.cpp
TestCountZeroes.cpp
TestDefineEnum.cpp
TestDoublyLinkedList.cpp
TestEndian.cpp
TestEnumSet.cpp
TestEnumTypeTraits.cpp
TestEnumeratedArray.cpp
TestFastBernoulliTrial.cpp
TestFloatingPoint.cpp Bug 1687441 part 7 - Add NumberEqualsInt64 and NumberIsInt64 to MFBT. r=sg 2021-01-27 15:52:29 +00:00
TestFunctionRef.cpp
TestFunctionTypeTraits.cpp
TestHashTable.cpp Bug 1432988 - Add hash for pair types. r=botond 2020-12-04 21:57:03 +00:00
TestIntegerRange.cpp
TestJSONWriter.cpp
TestLinkedList.cpp
TestMacroArgs.cpp
TestMacroForEach.cpp
TestMathAlgorithms.cpp
TestMaybe.cpp Bug 1680724 - Add a utility function that converts a T* to a Maybe<T&>. r=jwalden 2020-12-08 17:49:22 +00:00
TestNonDereferenceable.cpp
TestNotNull.cpp
TestPoisonArea.cpp
TestRandomNum.cpp Bug 1690167 - Allocate some memory before running RandomNum tests. r=Gankra 2021-03-10 23:52:41 +00:00
TestRange.cpp
TestRefPtr.cpp
TestResult.cpp Bug 1677284 - Move PackingStrategy::Variant implementation to separate header file. r=emilio 2020-11-23 15:49:14 +00:00
TestRollingMean.cpp
TestSHA1.cpp
TestSPSCQueue.cpp
TestSaturate.cpp
TestScopeExit.cpp
TestSegmentedVector.cpp Bug 1571631 - Replace MOZ_MUST_USE with [[nodiscard]] in mfbt. r=sg 2021-03-17 03:01:21 +00:00
TestSmallPointerArray.cpp
TestSplayTree.cpp
TestTemplateLib.cpp
TestTextUtils.cpp
TestThreadSafeWeakPtr.cpp Bug 1687391 - Avoid using a spinlock in ThreadSafeWeakReference, r=glandium,mccr8,Gankra,sg 2021-02-03 17:00:04 +00:00
TestTuple.cpp
TestTypeTraits.cpp
TestTypedEnum.cpp
TestUniquePtr.cpp
TestUtf8.cpp
TestVariant.cpp Bug 1500811 - Variant::as()&&, match()&& - r=sg 2020-12-02 00:17:46 +00:00
TestVector.cpp Bug 1665462 - Add moving Vector::appendAll(Vector&&) overload. r=jwalden 2020-10-29 19:41:43 +00:00
TestWeakPtr.cpp
TestWrappingOperations.cpp
TestXorShift128PlusRNG.cpp
moz.build Bug 1690167 - Change VsprintfLiteral/SprintfLiteral to rely on PrintfTarget. r=nika,Gankra,firefox-build-system-reviewers,mhentges 2021-03-10 23:52:40 +00:00