File tree Expand file tree Collapse file tree 5 files changed +12
-9
lines changed Expand file tree Collapse file tree 5 files changed +12
-9
lines changed Original file line number Diff line number Diff line change 11# yamllint disable-line rule:line-length
22# yaml-language-server: $schema=https://raw.githubusercontent.com/BlankSpruce/gersemi/master/gersemi/configuration.schema.json
33
4- definitions: ["CMake/ystdlib-cpp-helpers.cmake"]
4+ definitions:
5+ - "CMake/ystdlib-cpp-helpers.cmake"
6+ - "build/deps/Catch2/Catch2-src/extras/Catch.cmake"
57line_length: 100
68list_expansion: "favour-expansion"
Original file line number Diff line number Diff line change 1- #ifndef YSTDLIB_CONTAINERS_ARRAY
2- #define YSTDLIB_CONTAINERS_ARRAY
1+ #ifndef YSTDLIB_CONTAINERS_ARRAY_HPP
2+ #define YSTDLIB_CONTAINERS_ARRAY_HPP
33
44#include < algorithm>
55#include < concepts>
@@ -119,4 +119,4 @@ class Array {
119119};
120120} // namespace ystdlib::containers
121121
122- #endif // YSTDLIB_CONTAINERS_ARRAY
122+ #endif // YSTDLIB_CONTAINERS_ARRAY_HPP
Original file line number Diff line number Diff line change 55#include < string_view>
66#include < system_error>
77
8+ #include < ystdlib/error_handling/ErrorCode.hpp>
9+
810#include " constants.hpp"
911
10- using ystdlib::error_handling::test::AlwaysSuccessErrorCategory;
1112using ystdlib::error_handling::test::AlwaysSuccessErrorCodeEnum;
12- using ystdlib::error_handling::test::BinaryErrorCategory;
1313using ystdlib::error_handling::test::BinaryErrorCodeEnum;
1414using ystdlib::error_handling::test::cAlwaysSuccessErrorCategoryName;
1515using ystdlib::error_handling::test::cBinaryTestErrorCategoryName;
1616using ystdlib::error_handling::test::cFailureConditions;
1717using ystdlib::error_handling::test::cFailureErrorMsg;
1818using ystdlib::error_handling::test::cSuccessErrorMsg;
1919using ystdlib::error_handling::test::cUnrecognizedErrorCode;
20+ using AlwaysSuccessErrorCategory
21+ = ystdlib::error_handling::ErrorCategory<AlwaysSuccessErrorCodeEnum>;
22+ using BinaryErrorCategory = ystdlib::error_handling::ErrorCategory<BinaryErrorCodeEnum>;
2023
2124template <>
2225auto AlwaysSuccessErrorCategory::name () const noexcept -> char const * {
Original file line number Diff line number Diff line change @@ -16,10 +16,7 @@ enum class BinaryErrorCodeEnum : uint8_t {
1616};
1717
1818using AlwaysSuccessErrorCode = ystdlib::error_handling::ErrorCode<AlwaysSuccessErrorCodeEnum>;
19- using AlwaysSuccessErrorCategory
20- = ystdlib::error_handling::ErrorCategory<AlwaysSuccessErrorCodeEnum>;
2119using BinaryErrorCode = ystdlib::error_handling::ErrorCode<BinaryErrorCodeEnum>;
22- using BinaryErrorCategory = ystdlib::error_handling::ErrorCategory<BinaryErrorCodeEnum>;
2320} // namespace ystdlib::error_handling::test
2421
2522YSTDLIB_ERROR_HANDLING_MARK_AS_ERROR_CODE_ENUM (
Original file line number Diff line number Diff line change 4242 - " FLAGS"
4343 dir : " {{.ROOT_DIR}}"
4444 deps :
45+ - " :deps:install-all" # Allow Gersemi to parse 3rdparty CMake modules for linting
4546 - " venv"
4647 cmds :
4748 - |-
You can’t perform that action at this time.
0 commit comments