mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-18 15:55:36 +00:00
72e3388f74
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 |
||
---|---|---|
.. | ||
moz.build | ||
nsCURILoader.idl | ||
nsDocLoader.cpp | ||
nsDocLoader.h | ||
nsIContentHandler.idl | ||
nsIDocumentLoader.idl | ||
nsITransfer.idl | ||
nsIURIContentListener.idl | ||
nsIURILoader.idl | ||
nsIWebProgress.idl | ||
nsIWebProgressListener2.idl | ||
nsIWebProgressListener.idl | ||
nsURILoader.cpp | ||
nsURILoader.h |