commit | 86ec8820cbe56f14161438715d9ff6e52a62894b | [log] [tgz] |
---|---|---|
author | Wyatt Hepler <hepler@google.com> | Fri May 21 15:15:24 2021 -0700 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon May 24 20:04:16 2021 +0000 |
tree | 147040a8d45d2fd23aee21a70ff83fa4c03e5102 | |
parent | 463700da9c87c1bd81fffee9b2650e8aa8a7a773 [diff] |
pw_status: Optionally add [[nodiscard]] to status - Add a config option to pw_status that enables [[nodiscard]] to pw::Status and pw::StatusWithSize. Default to off. - Add [[nodiscard]] to pw::Result. - Add Abseil-style IgnoreError() functions to Status, StatusWithSize, and Result. Change-Id: Iaa11ce5edc963e8bdd795e743545bafa9e42bf62 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/46603 Reviewed-by: Ewout van Bekkum <ewout@google.com> Commit-Queue: Wyatt Hepler <hepler@google.com>
See our website: http://pigweed.dev