gecko-dev/uriloader/base
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
..
moz.build
nsCURILoader.idl
nsDocLoader.cpp Bug 1619798 - Move GeckoView onLoadRequest calls to DocumentLoadListener.cpp r=snorp,mattwoodrow 2020-04-10 16:38:48 +00:00
nsDocLoader.h Bug 1628961 - Replace MOZ_MUST_USE with [[nodiscard]] in docshell and uriloader. r=smaug 2020-04-14 06:41:42 +00:00
nsIContentHandler.idl
nsIDocumentLoader.idl
nsITransfer.idl Bug 1580316 - Update signatureInfo to Array of Array of nsIX509Cert(in raw bytes) r=keeler,dimi 2019-11-19 19:51:44 +00:00
nsIURIContentListener.idl Bug 1625792 - Remove nsIURIContentListener.onStartURIOpen. r=mattwoodrow 2020-03-29 22:10:09 +00:00
nsIURILoader.idl
nsIWebProgress.idl
nsIWebProgressListener2.idl
nsIWebProgressListener.idl Bug 1589476 - Emit a separate notification when a tracker from the Level 2 Disconnect blocklist is observed on a page and use this code to avoid using the URL classifer service in the front-end; r=nhnt11,droeh 2019-11-18 20:56:36 +00:00
nsURILoader.cpp Bug 1626451 - Remove nsAutoPtr usage from uriloader/. r=valentin 2020-04-03 21:05:39 +00:00
nsURILoader.h Bug 1628961 - Replace MOZ_MUST_USE with [[nodiscard]] in docshell and uriloader. r=smaug 2020-04-14 06:41:42 +00:00