Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-11-17 | AK: Convert AK::Format formatting helpers to returning ErrorOr<void> | Andreas Kling | |
This isn't a complete conversion to ErrorOr<void>, but a good chunk. The end goal here is to propagate buffer allocation failures to the caller, and allow the use of TRY() with formatting functions. | |||
2021-05-30 | AK+Userland: Use akaster@serenityos.org for my copyright headers | Andrew Kaster | |
2021-04-29 | Everywhere: "file name" => "filename" | Andreas Kling | |
2021-04-25 | AK: Add default constructor to SourceLocation | Brian Gianforcaro | |
2021-04-25 | AK: Add a AK::Formatter implementation for AK::SourceLocation | Brian Gianforcaro | |
2021-04-24 | AK: Add SourceLocation support | Brian Gianforcaro | |
C++20 added std::source_location, which lets you capture the callers __FILE__ / __LINE__ / __FUNCTION__ etc as a default argument to functions. See: https://en.cppreference.com/w/cpp/utility/source_location During a bug investigation @ADKaster suggested we could use this to make the LOCK_DEBUG feature of the kernel more user friendly and allow it to automatically instrument all call sites. We then implemented / tested it over discord. :^) Co-Authored-by: Andrew Kaster <andrewdkaster@gmail.com> |