sapling/eden/fs
Eric Niebler 27c4156b1f Add FOLLY_NODISCARD for [[nodiscard]] attribute when it exists, FOLLY_WARN_UNUSED_RESULT uses FOLLY_NODISCARD.
Summary: The `nodiscard` attribute was added to standard C++ in C++17. Prefer the standard formulation when it is available; otherwise, use `__attribute__((__warn_unused_result__))` on compilers that support the GNU extensions, and `_Check_return_` on MSVC. The old `FOLLY_WARN_UNUSED_RESULT` is now expands to `FOLLY_NODISCARD`.

Reviewed By: yfeldblum

Differential Revision: D5105137

fbshipit-source-id: 9aa22e81cd9f0b89f9343433aeae3ba365227ccb
2017-05-23 09:05:33 -07:00
..
config support storing two parent commits 2017-04-27 11:50:13 -07:00
fuse move eden/utils and eden/fuse into eden/fs 2017-04-14 11:39:02 -07:00
inodes Add FOLLY_NODISCARD for [[nodiscard]] attribute when it exists, FOLLY_WARN_UNUSED_RESULT uses FOLLY_NODISCARD. 2017-05-23 09:05:33 -07:00
journal move eden/utils and eden/fuse into eden/fs 2017-04-14 11:39:02 -07:00
model Add missing deps on @/folly:array 2017-05-14 16:05:49 -07:00
rocksdb update all copyright statements to "2016-present" 2017-01-20 22:03:02 -08:00
service remove use of folly::window 2017-05-18 12:55:17 -07:00
store Add missing deps on @/folly:array 2017-05-14 16:05:49 -07:00
testharness Add FOLLY_NODISCARD for [[nodiscard]] attribute when it exists, FOLLY_WARN_UNUSED_RESULT uses FOLLY_NODISCARD. 2017-05-23 09:05:33 -07:00
utils open(O_CREAT): supply required third argument on .cpp/.h files 2017-05-10 07:51:04 -07:00