gecko-dev/js/public
Chris Peterson 2b2bd12de6 Bug 1684092 - Part 1: Replace MOZ_MUST_USE with [[nodiscard]] in js/src/. r=jandem
The MOZ_MUST_USE macro is defined as clang's and gcc's nonstandard __attribute__((warn_unused_result)). Now that we compile as C++17 by default (bug 1560664), we can replace MOZ_MUST_USE with C++17's standard [[nodiscard]] attribute.

Differential Revision: https://phabricator.services.mozilla.com/D100412
2021-02-12 04:09:22 +00:00
..
experimental Bug 1674777 part 11 - Change JS_GetTypedArrayLength return type from uint32_t to size_t. r=sfink 2021-02-10 11:23:00 +00:00
friend Bug 1670044 - Part 9: Allow "*" for module export names. r=yulia 2021-02-09 19:05:36 +00:00
shadow Bug 1681297 - Refactor JS::shadow::Zone flags into a single enum and make it const r=jandem 2020-12-16 11:06:23 +00:00
AllocPolicy.h Bug 1684092 - Part 1: Replace MOZ_MUST_USE with [[nodiscard]] in js/src/. r=jandem 2021-02-12 04:09:22 +00:00
AllocationLogging.h
AllocationRecording.h
Array.h
ArrayBuffer.h Bug 1674777 part 9 - Change GetArrayBufferByteLength return type from uint32_t to size_t. r=sfink 2021-02-10 08:30:06 +00:00
ArrayBufferMaybeShared.h Bug 1674777 part 3 - Change Get*LengthAndData outparam from uint32_t to size_t. r=sfink,aosmond 2021-01-31 08:35:40 +00:00
BigInt.h
BuildId.h
CallArgs.h
CallNonGenericMethod.h
CharacterEncoding.h
Class.h Bug 1672862 - Part 11: Remove failSoft mode from ObjectOpResult. r=tcampbell,evilpie 2020-12-22 16:18:23 +00:00
ComparisonOperators.h
CompilationAndEvaluation.h
CompileOptions.h Bug 1519100 - Add flag for experimental Top Level Await feature; r=mgaudet 2020-12-04 08:52:29 +00:00
ContextOptions.h Bug 1672160 - SIMD wormhole. r=rhunt 2020-12-15 09:49:35 +00:00
Conversions.h
Date.h
Debug.h
Equality.h
ErrorReport.h
Exception.h
ForOfIterator.h Bug 1684092 - Part 1: Replace MOZ_MUST_USE with [[nodiscard]] in js/src/. r=jandem 2021-02-12 04:09:22 +00:00
GCAPI.h Bug 1689140 - Refactor SliceBudget API r=sfink 2021-01-28 19:11:42 +00:00
GCAnnotations.h
GCHashTable.h Bug 1684092 - Part 1: Replace MOZ_MUST_USE with [[nodiscard]] in js/src/. r=jandem 2021-02-12 04:09:22 +00:00
GCPolicyAPI.h
GCTypeMacros.h
GCVariant.h
GCVector.h Bug 1684092 - Part 1: Replace MOZ_MUST_USE with [[nodiscard]] in js/src/. r=jandem 2021-02-12 04:09:22 +00:00
HashTable.h
HeapAPI.h Bug 1689394 - Simplify TraceKind definition to reduce code generated by switch statements r=sfink 2021-01-29 19:47:47 +00:00
Id.h
Initialization.h
JSON.h
LocaleSensitive.h
MemoryFunctions.h
MemoryMetrics.h Bug 1673553 part 79 - Remove now dead TI memory reporters. r=iain 2020-12-04 10:08:53 +00:00
Modules.h Bug 1519100 - Use pref to completely pref-off top-level await in the browser; r=emilio,jonco 2020-12-04 08:54:10 +00:00
Object.h Bug 1674126 - Store native object's private slot using PrivateValue r=jandem 2020-11-11 11:22:04 +00:00
OffThreadScriptCompilation.h Bug 1686572 - Return JS::OffThreadToken* from off-thread script compile. r=arai 2021-01-14 00:51:13 +00:00
Principals.h
Printf.h
ProfilingCategory.h
ProfilingFrameIterator.h
ProfilingStack.h
Promise.h
PropertyDescriptor.h
PropertySpec.h
ProtoKey.h Bug 1335652 - wasm exceptions part 10: add WebAssembly.RuntimeException r=rhunt 2021-02-03 04:21:07 +00:00
Proxy.h Bug 1673553 part 74 - Remove NewSingletonProxyObject. r=iain 2020-12-02 20:38:21 +00:00
Realm.h
RealmOptions.h Bug 1688190 - Part 6: Make JS::RealmBehaviorsRef return const reference. r=tcampbell 2021-01-22 21:52:30 +00:00
RefCounted.h
RegExp.h
RegExpFlags.h
RequiredDefines.h
Result.h
RootingAPI.h Bug 1684092 - Part 1: Replace MOZ_MUST_USE with [[nodiscard]] in js/src/. r=jandem 2021-02-12 04:09:22 +00:00
SavedFrameAPI.h
ScalarType.h Bug 1675602 - Use WebAssembly's type system for TypedObject. r=lth 2020-12-13 01:13:56 +00:00
SharedArrayBuffer.h Bug 1674777 part 6 - Change SharedArrayBuffer APIs to use size_t instead of uint32_t. r=lth 2021-02-04 16:09:24 +00:00
SliceBudget.h Bug 1689140 - Refactor SliceBudget API r=sfink 2021-01-28 19:11:42 +00:00
SourceText.h Bug 1684092 - Part 1: Replace MOZ_MUST_USE with [[nodiscard]] in js/src/. r=jandem 2021-02-12 04:09:22 +00:00
StableStringChars.h Bug 1684092 - Part 1: Replace MOZ_MUST_USE with [[nodiscard]] in js/src/. r=jandem 2021-02-12 04:09:22 +00:00
Stream.h
String.h
StructuredClone.h Bug 1684092 - Part 1: Replace MOZ_MUST_USE with [[nodiscard]] in js/src/. r=jandem 2021-02-12 04:09:22 +00:00
SweepingAPI.h
Symbol.h Bug 1678374 - Avoid including js/RootingAPI.h from header files. r=jandem 2020-11-23 16:12:12 +00:00
TraceKind.h Bug 1689394 - Simplify TraceKind definition to reduce code generated by switch statements r=sfink 2021-01-29 19:47:47 +00:00
TraceLoggerAPI.h
TracingAPI.h Bug 1689394 - Make updating tracing context information unconditional on the tracer kind r=sfink 2021-01-30 11:21:28 +00:00
Transcoding.h Bug 1681308 - Add alignment requirement to XDR buffer. r=nbp 2021-01-13 02:18:26 +00:00
TypeDecls.h
UbiNode.h Bug 1684092 - Part 1: Replace MOZ_MUST_USE with [[nodiscard]] in js/src/. r=jandem 2021-02-12 04:09:22 +00:00
UbiNodeBreadthFirst.h
UbiNodeCensus.h Bug 1684092 - Part 1: Replace MOZ_MUST_USE with [[nodiscard]] in js/src/. r=jandem 2021-02-12 04:09:22 +00:00
UbiNodeDominatorTree.h Bug 1684092 - Part 1: Replace MOZ_MUST_USE with [[nodiscard]] in js/src/. r=jandem 2021-02-12 04:09:22 +00:00
UbiNodePostOrder.h Bug 1684092 - Part 1: Replace MOZ_MUST_USE with [[nodiscard]] in js/src/. r=jandem 2021-02-12 04:09:22 +00:00
UbiNodeShortestPaths.h Bug 1684092 - Part 1: Replace MOZ_MUST_USE with [[nodiscard]] in js/src/. r=jandem 2021-02-12 04:09:22 +00:00
UbiNodeUtils.h
UniquePtr.h
Utility.h Bug 1684092 - Part 1: Replace MOZ_MUST_USE with [[nodiscard]] in js/src/. r=jandem 2021-02-12 04:09:22 +00:00
Value.h Bug 1428742 - use Value::toGCCellPtr and delegating ctr of GCCellPtr. r=jonco 2021-02-03 20:13:10 +00:00
ValueArray.h
Vector.h
Warnings.h
WasmModule.h
WeakMapPtr.h
Wrapper.h Bug 1691008 - Part 5: Remove Wrapper::NewSingleton. r=jandem 2021-02-05 14:15:41 +00:00