gecko-dev/mfbt
Tom Ritter 41a1a6c9b0 Bug 1433971 Clean up Assertions.h with respect to Unused Attributes r=froydnj
In Bug 1393538 I renamed MOZ_STATIC_ASSERT_UNUSED_ATTRIBUTE to MOZ_UNUSED_ATTRIBUTE,
moved it out of it's #define depth, and used it in toolkit. I also orphaned a
comment.

This was wrong. MOZ_UNUSED_ATTRIBUTE was basically identical to MOZ_MAYBE_UNUSED
which exists in Attributes.h (because it is an attribute, not an assertion.)

Undo that wrong thing: restore MOZ_STATIC_ASSERT_UNUSED_ATTRIBUTE to the correct
place, have toolkit use the correct macro, and remove MOZ_UNUSED_ATTRIBUTE.

MozReview-Commit-ID: 5BWWsXgbm9i

--HG--
extra : rebase_source : d07156068c877bf57d400bc6a71e115b7f1aef31
2018-01-29 11:36:19 -06:00
..
decimal Bug 1402344 - Update mfbt-double-conversion to the latest upstream rev. r=froydnj 2017-10-09 22:15:37 -07:00
double-conversion Bug 1402344 - Update mfbt-double-conversion to the latest upstream rev. r=froydnj 2017-10-09 22:15:37 -07:00
tests Bug 1432646 - Followup bustage fix for compilers that warn (error with -Werror-alike) when negating an unsigned expression. r=bustage in a CLOSED TREE 2018-01-27 00:25:40 -08:00
Alignment.h
AllocPolicy.h
AlreadyAddRefed.h
Array.h
ArrayUtils.h
Assertions.cpp
Assertions.h Bug 1433971 Clean up Assertions.h with respect to Unused Attributes r=froydnj 2018-01-29 11:36:19 -06:00
Atomics.h Bug 1407137 - Implement Swap(Atomic<T, Order>&, Atomic<T, Order>&) = delete; to remove an actually-non-atomic footgun. r=froydnj 2017-10-10 10:19:31 -07:00
Attributes.h Bug 1418465 - Add an opt-out to the MOZ_CAN_RUN_SCRIPT analysis, r=andi 2017-11-24 11:15:17 -05:00
BinarySearch.h
BloomFilter.h
BufferList.h Bug 1379680. Add a way to append buffers to a BufferList. r=billm 2017-11-29 10:11:13 -05:00
Casting.h
ChaosMode.cpp
ChaosMode.h
Char16.h Bug 1428541 - Make char16ptr_t::operator bool() explicit. r=froydnj 2017-12-24 23:33:56 +09:00
CheckedInt.h Bug 1356936 - Use __builtin_add/sub/mul_overflow() where available to optimize CheckedInt. r=waldo,ehsan 2017-09-21 18:24:10 +02:00
Compiler.h
Compression.cpp Bug 1416183 - Build LZ4 as C instead of including it as C++. r=froydnj 2017-11-15 12:51:01 +09:00
Compression.h Bug 1396026 - Update OTS to accept Awami Nastaliq. r=froydnj,jfkthame 2017-09-07 10:40:59 -07:00
DebugOnly.h
DefineEnum.h
double-conversion.h Bug 1402344 - Update mfbt-double-conversion to the latest upstream rev. r=froydnj 2017-10-09 22:15:37 -07:00
DoublyLinkedList.h Bug 1396723 - Use DoublyLinkedList in mozjemalloc. r=froydnj 2017-09-02 08:55:42 +09:00
EndianUtils.h
EnumeratedArray.h
EnumeratedRange.h
EnumSet.h Bug 1427229 - Perform validation when sending an EnumSet over IPC. r=botond,froydnj 2018-01-21 21:23:21 +01:00
EnumTypeTraits.h Bug 1427229 - Perform validation when sending an EnumSet over IPC. r=botond,froydnj 2018-01-21 21:23:21 +01:00
FastBernoulliTrial.h
FloatingPoint.cpp
FloatingPoint.h
GuardObjects.h
HashFunctions.cpp
HashFunctions.h
IndexSequence.h
IntegerPrintfMacros.h
IntegerRange.h
IntegerTypeTraits.h
JSONWriter.cpp
JSONWriter.h
Likely.h
LinkedList.h Bug 1424834 - LinkedList::sizeOfExcludingThis should use ConstRawType instead of T* r=njn 2017-12-20 01:13:53 +01:00
LinuxSignal.h
lz4.c Bug 1430708 - Update lz4 to version 1.8.1.2. r=froydnj 2018-01-22 08:48:44 -05:00
lz4.h Bug 1430708 - Update lz4 to version 1.8.1.2. r=froydnj 2018-01-22 08:48:44 -05:00
MacroArgs.h
MacroForEach.h
MathAlgorithms.h Bug 1432646 - Implement mozilla::WrapToSigned. r=froydnj 2018-01-25 14:48:01 -08:00
Maybe.h Backout 15b89e515c94 (bug 1410186) for causing too many crashes on Nightly. 2017-11-13 12:14:02 +11:00
MaybeOneOf.h
MemoryChecking.h
MemoryReporting.h
Move.h
moz.build Bug 1428543 - Add mozilla::filesystem::Path and use it in nsIFile. r=froydnj 2017-12-28 03:03:35 +09:00
NotNull.h Bug 1410252 - MakeNotNull<PointerType, OptionalPointeeType>(Args...) - r=njn 2017-10-20 14:56:01 +11:00
NullPtr.h
Opaque.h
OperatorNewExtensions.h
Pair.h
Path.h Bug 1428543 - Add mozilla::filesystem::Path and use it in nsIFile. r=froydnj 2017-12-28 03:03:35 +09:00
PodOperations.h
Poison.cpp
Poison.h
Range.h
RangedArray.h
RangedPtr.h
ReentrancyGuard.h
RefCounted.h Bug 1385438 - make mozilla::RefCounted use the strongest memory consistency necessary; r=jrmuizel 2017-10-27 13:05:51 -04:00
RefCountType.h
RefPtr.h
Result.h Bug 1419682 - add unwrap_or() for Result. r=Waldo 2017-11-22 17:14:28 +08:00
ResultExtensions.h
ReverseIterator.h
RollingMean.h
Saturate.h
Scoped.h
ScopeExit.h
SegmentedVector.h
SHA1.cpp
SHA1.h
SmallPointerArray.h Bug 1397056 - Add Contains and a return parameter to Remove for SmallPointerArray. r=froydnj 2017-09-12 14:11:47 -04:00
Span.h Bug 1424103 - constexpr-ify mozilla::Span. r=hsivonen 2017-12-08 23:20:56 +09:00
SplayTree.h
Sprintf.h
StaticAnalysisFunctions.h Bug 1418558 part 3. Make MOZ_KnownLive compile even when not doing a static analysis build. r=mystor 2017-12-05 11:18:16 -05:00
STYLE
TaggedAnonymousMemory.cpp
TaggedAnonymousMemory.h
TemplateLib.h
ThreadLocal.h Bug 1417135 - Mark user-defined default constructor for ThreadLocalKeyStorage as constexpr. r=glandium 2017-11-15 01:33:00 -05:00
ThreadSafeWeakPtr.h Bug 1404742 - add ThreadSafeWeakPointer to MFBT. r=nfroyd 2017-10-18 14:21:23 -04:00
ToString.h
Tuple.h
TypedEnumBits.h
Types.h
TypeTraits.h
UniquePtr.h
UniquePtrExtensions.h
Unused.cpp
Unused.h
Variant.h
Vector.h Bug 1329019 - Allow specifying capacity to Vector::replaceRawBuffer (r=froydnj) 2017-09-22 10:34:24 -05:00
WeakPtr.h
WindowsVersion.h Bug 1406793 - Make IsWindows* methods thread-safe. r=froydnj 2017-10-09 10:36:23 +02:00
XorShift128PlusRNG.h