gecko-dev/memory/build
Chris Peterson 3e124aaca9 Bug 1663237 - Replace MOZ_MUST_USE with [[nodiscard]] in mozjemalloc. r=glandium
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.

We can also stop #including mozilla/Attributes.h because it was only needed for its MOZ_MUST_USE declaration.

Differential Revision: https://phabricator.services.mozilla.com/D89310
2020-09-08 07:20:19 +00:00
..
Makefile.in
Mutex.h
Utils.h
fallback.cpp
malloc_decls.h
moz.build
mozjemalloc.cpp
mozjemalloc.h
mozjemalloc_types.h
mozmemory.h
mozmemory_wrap.cpp
mozmemory_wrap.h
rb.h
replace_malloc.h
replace_malloc_bridge.h
zone.c