summaryrefslogtreecommitdiff
path: root/Kernel/KResult.h
AgeCommit message (Expand)Author
2021-07-08AK+Kernel: Fix perfect forwarding constructors shadowing othersDaniel Bertalan
2021-06-24Kernel: Remove superfluous `alignas(T)` from `KResultOr<T>`Daniel Bertalan
2021-05-28Kernel: Add missing AK/Format.h include in KResult.hAndreas Kling
2021-04-22Everything: Move to SPDX license identifiers in all files.Brian Gianforcaro
2021-03-04Everywhere: Remove unnecessary `clang-format off`sWilliam McPherson
2021-02-28Kernel: Use default con/de-structorsBen Wiederhake
2021-02-23Everywhere: Rename ASSERT => VERIFYAndreas Kling
2021-02-15Kernel: Mark KResult getters as [[nodiscard]]Brian Gianforcaro
2021-02-08Kernel: KResultOr can use the same storage as the object for the errorTom
2021-02-07Kernel: Fix KResultOr copy-move from itself caseTom
2021-02-07Kernel: Change KResultOr::take_value to use move semanticsTom
2021-01-22Everywhere: Replace a bundle of dbg with dbgln.asynts
2021-01-20Kernel+LibC: Turn errno codes into a strongly typed enumAndreas Kling
2021-01-16Kernel: Fix inverted logic in KResultOrBen Wiederhake
2020-12-31Everywhere: Re-format with clang-format-11Linus Groh
2020-09-25Meta+Kernel: Make clang-format-10 cleanBen Wiederhake
2020-09-19Kernel: Fix KResultOr move semanticsTom
2020-08-09Kernel: Decorate KResult and KResultOr<T> methods with [[nodiscard]]Brian Gianforcaro
2020-08-05Kernel: Decorate KResult with [[nodiscard]]Brian Gianforcaro
2020-08-05Kernel: Decorate KResultOr with [[nodiscard]] to catch misbehaving callersBrian Gianforcaro
2020-06-02Kernel: Always inline some KResult / KResultOr<> methodsSergey Bugaev
2020-05-20AK+Kernel: Help the compiler inline a bunch of trivial methodsSergey Bugaev
2020-04-10Kernel+LibC: Remove ESUCCESSAndreas Kling
2020-02-16Kernel: Move all code into the Kernel namespaceAndreas Kling
2020-02-08Kernel: Add KResultOr<T>::result()Andreas Kling
2020-01-18Meta: Add license header to source filesAndreas Kling
2020-01-06Kernel: Add KResult::error() to make it look symmetrical with KResultOrAndreas Kling
2019-12-29Kernel: Add move assign operator to KResultOrAndrew Kaster
2019-08-02Kernel: Align the KResult value storage appropriately.Andreas Kling
2019-06-14Kernel: Fix KResultOr move constructor not copying errors.Sergey Bugaev
2019-06-07Meta: Tweak .clang-format to not wrap braces after enums.Andreas Kling
2019-05-28Add clang-format fileRobin Burchell
2019-04-09Kernel: Yet more work on bringing up POSIX SHM.Andreas Kling
2019-03-06Kernel: Port more code to KResult and KResultOr<T>.Andreas Kling
2019-02-27Kernel: Use KResult in unlink() and rmdir().Andreas Kling
2019-02-26LibC: Make errno codes be #defines instead of enum values.Andreas Kling
2019-02-25Kernel: Add KResult and KResultOr<T> classes.Andreas Kling