gecko-dev/docshell
Chris Peterson 72e3388f74 Bug 1628961 - Replace MOZ_MUST_USE with [[nodiscard]] in docshell and uriloader. r=smaug
Also move MOZ_MUST_USE before function declarations' specifiers and return type. While clang and gcc's __attribute__((warn_unused_result)) can appear before, between, or after function specifiers and return types, the [[nodiscard]] attribute must precede the function specifiers.

I also needed to wrap the nsDocLoader::RemoveChildLoader() function declaration with // clang-format off and // clang-format on. clang-format insists on indenting the function declaration because it is confused by the NS_DECL_ macros without trailing semicolons before the [[nodiscard]] attribute.

Differential Revision: https://phabricator.services.mozilla.com/D70478

--HG--
extra : moz-landing-system : lando
2020-04-14 06:41:42 +00:00
..
base Bug 1628961 - Replace MOZ_MUST_USE with [[nodiscard]] in docshell and uriloader. r=smaug 2020-04-14 06:41:42 +00:00
build Bug 1620657 - Add a native impl of nsIExternalHelperAppService for Android r=mattwoodrow,geckoview-reviewers,droeh 2020-04-10 15:53:19 +00:00
resources/content Bug 1562642 - add missing license in docshell/resources/content/netError.js r=smaug 2019-11-12 08:26:18 +00:00
shistory Bug 1626404: Part 4 - Remove now-redundant accessor args from BrowsingContext load methods. r=nika CLOSED TREE 2020-04-08 19:04:47 +00:00
test Bug 1628200 - Fix config/tests/test_mozbuild_reading.py. r=rstewart 2020-04-09 00:24:29 +00:00
moz.build Bug 1594981 - update Core::DOM* and Core::Storage* bugzilla product and component meta data in moz.build files after reorganization in bug 1594717. r=annevk 2019-11-08 12:17:57 +00:00