mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 08:18:15 +03:00
1add48d20b
Summary: Unfortunately it looks like gcc won't support the [[nodiscard]] attribute until the gcc-7.x release. (The functionality is available in gcc-4.8 and later, but using the name [[gnu::warn_unused_result]] instead.) This changes the code to use the FOLLY_WARN_UNUSED_RESULT macro from folly/Portability.h instead. (This expands to older non-standard __attribute__ syntax for gcc and clang, and _Check_return_ on Windows.) Reviewed By: bolinfest Differential Revision: D4704184 fbshipit-source-id: d5c13630ea611a2f43080a501add42ce9fda6789 |
||
---|---|---|
.. | ||
docs | ||
fs | ||
fuse | ||
hooks | ||
integration | ||
utils | ||
DEFS |