- The return values of the Status member functions should not be
ignored, so add [[nodiscard]].
- Reorder Status values and update the comments to match Abseil's
status/status.h.
Change-Id: Ie91f4f5fbb98353caf1df905a6bf5ce5da4ecaf9
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/19360
Reviewed-by: Ewout van Bekkum <ewout@google.com>
Commit-Queue: Wyatt Hepler <hepler@google.com>
- Create pw_Status enum with all of the status codes.
- Have pw::Status implicitly convert to and from pw_Status to make
transitioning between the plain enum and Status class seamless.
Change-Id: If4dd659ecfd24d031c838d304298e1a3ae385b63
This change adds Pigweed's first few (incomplete) modules: pw_build,
pw_status, and pw_toolchain. The main scaffolding for Pigweed's GN-based
build system is also included, with a root BUILDCONFIG and BUILD.gn file
defining a top-level modules build target.
Change-Id: I09599443d50696343d6c5b85853cb5cee3ce0026