gecko-dev/xpcom/idl-parser/xpidl
Chris Peterson ac7932ab8d Bug 1662629 - Replace MOZ_MUST_USE with [[nodiscard] in xpcom. r=xpcom-reviewers,sg
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.

The [[nodiscard]] attribute must precede a function declaration's declaration specifiers (like static, extern, inline, or virtual). The __attribute__((warn_unused_result)) attribute does not have this order restriction.

Differential Revision: https://phabricator.services.mozilla.com/D89092
2020-09-02 09:18:12 +00:00
..
__init__.py
header.py Bug 1662629 - Replace MOZ_MUST_USE with [[nodiscard] in xpcom. r=xpcom-reviewers,sg 2020-09-02 09:18:12 +00:00
jsonxpt.py Bug 1635755 - Part 1: Emit JSON data in deterministic order in jsonxpt r=nika 2020-05-11 15:35:58 +00:00
moz.build Bug 1633156 - Don't emit cached table files from ply r=glandium 2020-05-07 00:39:28 +00:00
python.ini Bug 1654602 - Run xpidl unit tests as part of xpcom subsuite r=froydnj 2020-07-22 17:51:14 +00:00
runtests.py Bug 1635229 - output relative paths in XPIDL-generated source files; r=asuth,glandium,mccr8 2020-05-06 10:56:58 +00:00
rust_macros.py Bug 1635229 - output relative paths in XPIDL-generated source files; r=asuth,glandium,mccr8 2020-05-06 10:56:58 +00:00
rust.py Bug 1635229 - output relative paths in XPIDL-generated source files; r=asuth,glandium,mccr8 2020-05-06 10:56:58 +00:00
xpidl.py Bug 1661730. Allow std::function to be specified as a native type in XPIDL. r=nika 2020-08-28 17:51:36 +00:00