gecko-dev/mfbt/tests
Emilio Cobos Álvarez c3ee3ac3a8 Bug 1418624 - Allow mozilla::Result to be moved, make unwrap{,Err}() move, and add inspect() APIs that return references. r=froydnj
Also adjust some of the callers that were either calling unwrap() repeatedly on
the same result, or were doing silly copies, to use inspect().

We could try to use stuff like:

https://clang.llvm.org/docs/AttributeReference.html#consumed-annotation-checking

Differential Revision: https://phabricator.services.mozilla.com/D41425

--HG--
extra : moz-landing-system : lando
2019-08-13 08:26:18 +00:00
..
gtest
TestAlgorithm.cpp
TestArray.cpp
TestArrayUtils.cpp
TestAtomics.cpp
TestBinarySearch.cpp
TestBloomFilter.cpp
TestBufferList.cpp
TestCasting.cpp
TestCeilingFloor.cpp
TestCheckedInt.cpp
TestCountPopulation.cpp
TestCountZeroes.cpp
TestDefineEnum.cpp
TestDoublyLinkedList.cpp
TestEndian.cpp
TestEnumSet.cpp
TestEnumTypeTraits.cpp
TestEnumeratedArray.cpp
TestFastBernoulliTrial.cpp
TestFloatingPoint.cpp
TestFunctionTypeTraits.cpp
TestIntegerPrintfMacros.cpp
TestIntegerRange.cpp
TestJSONWriter.cpp
TestLinkedList.cpp
TestMacroArgs.cpp
TestMacroForEach.cpp
TestMathAlgorithms.cpp
TestMaybe.cpp
TestNonDereferenceable.cpp
TestNotNull.cpp
TestPair.cpp
TestPoisonArea.cpp
TestRandomNum.cpp
TestRange.cpp
TestRefPtr.cpp
TestResult.cpp
TestRollingMean.cpp
TestSHA1.cpp
TestSPSCQueue.cpp
TestSaturate.cpp
TestScopeExit.cpp
TestSegmentedVector.cpp
TestSmallPointerArray.cpp
TestSplayTree.cpp
TestTemplateLib.cpp
TestTextUtils.cpp
TestThreadSafeWeakPtr.cpp
TestTuple.cpp
TestTypeTraits.cpp
TestTypedEnum.cpp
TestUniquePtr.cpp
TestUtf8.cpp
TestVariant.cpp
TestVector.cpp
TestWeakPtr.cpp
TestWrappingOperations.cpp
TestXorShift128PlusRNG.cpp
moz.build