gecko-dev/hal
Chris Peterson a7ec09ed1e Bug 1664374 - Replace MOZ_MUST_USE with [[nodiscard]] in hal. r=gsvelto
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/D89871
2020-09-11 06:35:02 +00:00
..
android
cocoa
fallback
linux
sandbox
windows
Hal.cpp
Hal.h Bug 1664374 - Replace MOZ_MUST_USE with [[nodiscard]] in hal. r=gsvelto 2020-09-11 06:35:02 +00:00
HalBatteryInformation.h
HalImpl.h
HalInternal.h
HalLog.h
HalNetworkInformation.h
HalSandbox.h
HalScreenConfiguration.h
HalSensor.h
HalTypes.h
HalWakeLock.cpp
HalWakeLock.h
HalWakeLockInformation.h
HalWakeLockInternal.h
WindowIdentifier.cpp
WindowIdentifier.h
moz.build