gecko-dev/mfbt
Nicholas Nethercote 5def42d488 Bug 1127201 (part 1) - Let MOZ_ASSERT take a string variable as the second arg. r=Waldo.
ASSERT_UNLESS_FUZZING() (which is defined multiple times!) caused problems due
when __VA_ARGS__ was empty which is most of the time. So I just disallowed the
optional string, which was only used in a small fraction of the occurrences.

I don't particularly like this patch. I'm not convinced its any better than
just removing the nsPrintfCString()s like I did earlier, but I've done it to at
least show what's involved.

--HG--
extra : rebase_source : 10b5bcf8509eaf2fca300b0b8ab1fa130e9f8b8c
2015-02-04 19:42:29 -08:00
..
decimal Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo 2015-01-11 11:34:52 +09:00
double-conversion
tests Bug 1120796 - Part 1: Prepare code for explicit bool operators. r=Waldo 2015-02-03 18:52:28 +02:00
Alignment.h
AllocPolicy.h Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo 2015-01-11 11:34:52 +09:00
AlreadyAddRefed.h Bug 1119080: Convert the already_Addrefed Derived->Base conversion operator into a move constructor, r=waldo 2015-01-07 20:32:55 -08:00
Array.h
ArrayUtils.h Bug 1091882: Simplify some uses of mozilla::PointerRangeSize, and clarify comment. r=waldo 2014-11-03 15:55:59 -08:00
Assertions.h Bug 1127201 (part 1) - Let MOZ_ASSERT take a string variable as the second arg. r=Waldo. 2015-02-04 19:42:29 -08:00
Atomics.h bug 1077549 - remove useless gcc version checks r=glandium 2015-01-15 21:30:05 -05:00
Attributes.h Bug 1125185 - Define MOZ_COLD for marking "cold" functions r=waldo 2015-01-26 17:30:19 -08:00
BinarySearch.h Bug 1062073 - Mark BinarySearchDefaultComparator's constructor as explicit; r=froydnj 2014-09-03 18:25:13 -04:00
BloomFilter.h
Casting.h
ChaosMode.h Bug 1099251 - make ChaosMode's behavior modifications more finely-grained selectable; r=roc 2014-11-14 13:12:51 -05:00
Char16.h Bug 1119075, Part 2: Fix typo, r=waldo 2015-01-14 15:45:48 -08:00
CheckedInt.h Bug 1118486 - Part 1: Use = delete instead of MOZ_DELETE directly; r=Waldo 2015-01-08 23:19:05 -05:00
Compiler.h bug 1077549 - remove useless gcc version checks r=glandium 2015-01-15 21:30:05 -05:00
Compression.cpp
Compression.h
Constants.h
DebugOnly.h Bug 1122160 Follow-up to fix spelling typo in comment. rs=themaid DONTBUILD 2015-01-16 10:22:43 -05:00
Endian.h Bug 1118486 - Part 1: Use = delete instead of MOZ_DELETE directly; r=Waldo 2015-01-08 23:19:05 -05:00
EnumeratedArray.h Bug 1111290 - Part 3: Remove TypedEnum.h and fold TypedEnumInternal.h into TypedEnumBits.h. r=waldo 2015-01-26 07:22:11 +09:00
EnumSet.h
FloatingPoint.cpp
FloatingPoint.h Bug 1114351 - Use mozilla::IsNaN() in DOUBLE_TO_JSVAL(); r=Waldo 2014-12-21 19:16:49 -05:00
GuardObjects.h Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo 2015-01-11 11:34:52 +09:00
HashFunctions.cpp
HashFunctions.h Bug 1119199 - Rewrite HashFunctions with variadic templates. r=waldo 2015-01-13 10:48:10 +11:00
IntegerPrintfMacros.h Bug 1118529 - Remove MSIntTypes.h. r=Waldo 2015-01-06 21:41:15 -08:00
IntegerRange.h Bug 1126701 - Add IntegerRange for iterating integers. r=waldo 2015-02-04 19:07:32 +11:00
IntegerTypeTraits.h Bug 1113445 - SpiderMonkey: Handle -0 properly in SIMD.float32x4.signMask r=bbouvier,waldo 2014-12-23 13:52:49 -08:00
IteratorTraits.h Bug 1127044 part 1 - Add IteratorTraits facility. r=waldo 2015-02-04 19:07:32 +11:00
JSONWriter.cpp Bug 1067699 (part 2) - Add mfbt/JSONWriter.h and use it for memory reporting. r=froydnj. 2014-09-14 23:36:18 -07:00
JSONWriter.h Bug 1074591 (part 3) - Fix unbounded growth in JSONWriter's vectors(!). r=froydnj. 2014-10-02 18:01:41 -07:00
Likely.h
LinkedList.h Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo 2015-01-11 11:34:52 +09:00
LinuxSignal.h
lz4.c
lz4.h
MacroArgs.h
MacroForEach.h
MathAlgorithms.h Bug 1124029 - Fix unsigned/signed mismatch in MathAlgorithms. r=waldo 2015-01-23 08:29:36 +11:00
Maybe.h Bug 1120796 - Part 2: Replace ConvertibleToBool hackarounds with explicit bool operators. r=Waldo 2015-02-03 18:52:36 +02:00
MaybeOneOf.h Bug 1129559 - Implement move construction for mozilla::MaybeOneOf; r=jandem 2015-02-04 13:34:18 -08:00
MemoryChecking.h Bug 1075134 - MOZ_LSAN macros. r=froydnj 2014-10-21 13:00:54 +02:00
MemoryReporting.h
Move.h Bug 1121080: Fix comments in Move.h explaining perfect forwarding. DONTBUILD r=waldo 2015-01-13 10:48:58 -08:00
moz.build Bug 1126701 - Add IntegerRange for iterating integers. r=waldo 2015-02-04 19:07:32 +11:00
NullPtr.h Bug 1120062 - Part 2: Remove use of IsNullPointer. r=waldo 2015-01-15 02:09:11 +09:00
NumericLimits.h
Pair.h Bug 1118486 - Part 1: Use = delete instead of MOZ_DELETE directly; r=Waldo 2015-01-08 23:19:05 -05:00
PodOperations.h Bug 1118486 - Part 1: Use = delete instead of MOZ_DELETE directly; r=Waldo 2015-01-08 23:19:05 -05:00
Poison.cpp
Poison.h
Range.h Bug 1120796 - Part 2: Replace ConvertibleToBool hackarounds with explicit bool operators. r=Waldo 2015-02-03 18:52:36 +02:00
RangedPtr.h Bug 1120796 - Part 2: Replace ConvertibleToBool hackarounds with explicit bool operators. r=Waldo 2015-02-03 18:52:36 +02:00
ReentrancyGuard.h Bug 1118486 - Part 1: Use = delete instead of MOZ_DELETE directly; r=Waldo 2015-01-08 23:19:05 -05:00
RefCountType.h
RefPtr.h Bug 1121489 follow-up: Addresss the review comment 2015-01-19 09:07:57 -05:00
ReverseIterator.h Bug 1127044 part 2 - Add ReverseIterator template class. r=waldo 2015-02-04 19:07:32 +11:00
RollingMean.h
Scoped.h Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo 2015-01-11 11:34:52 +09:00
SegmentedVector.h bug 1077549 - remove useless gcc version checks r=glandium 2015-01-15 21:30:05 -05:00
SHA1.cpp
SHA1.h
SizePrintfMacros.h Bug 1114724 - Define PRIuSIZE format specifiers for size_t. r=Waldo 2014-12-21 23:30:06 -08:00
SplayTree.h Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo 2015-01-11 11:34:52 +09:00
STYLE
TaggedAnonymousMemory.cpp Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo 2015-01-11 11:34:52 +09:00
TaggedAnonymousMemory.h
TemplateLib.h
ThreadLocal.h Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo 2015-01-11 11:34:52 +09:00
ToString.h
TypedEnumBits.h Bug 1111290 - Part 3: Remove TypedEnum.h and fold TypedEnumInternal.h into TypedEnumBits.h. r=waldo 2015-01-26 07:22:11 +09:00
Types.h
TypeTraits.h
UniquePtr.h Bug 1120796 - Part 2: Replace ConvertibleToBool hackarounds with explicit bool operators. r=Waldo 2015-02-03 18:52:36 +02:00
unused.cpp Bug 1059038 - Move mozilla::unused from xpcom/glue to mfbt. r=Waldo 2014-08-29 10:11:00 +02:00
unused.h Bug 1059038 - Move mozilla::unused from xpcom/glue to mfbt. r=Waldo 2014-08-29 10:11:00 +02:00
Vector.h Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo 2015-01-11 11:34:52 +09:00
WeakPtr.h Bug 1119776, Part 4: Avoid defining snprintf when MSVC provides it (MFBT), r=waldo 2015-01-08 22:33:03 -08:00
WindowsVersion.h Bug 1094012 - Assume Win7 or later on Win64. r=jimm 2014-11-24 22:18:10 +09:00