Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor CMakeLists and update enum handling for improved clarity and… #3

Merged
merged 1 commit into from
Feb 9, 2025

Refactor CMakeLists and update enum handling for improved clarity and…

a415cdc
Select commit
Loading
Failed to load commit list.
Merged

Refactor CMakeLists and update enum handling for improved clarity and… #3

Refactor CMakeLists and update enum handling for improved clarity and…
a415cdc
Select commit
Loading
Failed to load commit list.
Trunk.io / Trunk Check failed Feb 9, 2025 in 1m 42s

26 new issues (16 pre-existing)

Checked 12 modified files
16 existing issues (1 auto-fixable) (use --show-existing to see them)
✖ 9 unformatted files
✖ 26 new lint issues (2 auto-fixable)

To reproduce and test locally, run:
trunk check

For help resolving these issues, see our docs on running on PRs or debugging Trunk Check

Annotations

Check failure on line 35 in include/mgutility/reflection/detail/enum_for_each.hpp

See this annotation in the file changed.

@trunk-io trunk-io / Trunk Check

clang-tidy(cppcoreguidelines-macro-usage)

[new] macro 'MGUTILITY_ENUM_NAME_BUFFER_SIZE' used to declare a constant; consider using a 'constexpr' constant

Check failure on line 431 in include/mgutility/std/string_view.hpp

See this annotation in the file changed.

@trunk-io trunk-io / Trunk Check

clang-tidy(google-readability-casting)

[new] C-style casts are discouraged; use constructor call syntax

Check failure on line 415 in include/mgutility/std/string_view.hpp

See this annotation in the file changed.

@trunk-io trunk-io / Trunk Check

clang-tidy(readability-identifier-length)

[new] parameter name 'c' is too short, expected at least 3 characters

Check failure on line 393 in include/mgutility/std/string_view.hpp

See this annotation in the file changed.

@trunk-io trunk-io / Trunk Check

clang-tidy(cppcoreguidelines-pro-bounds-constant-array-index)

[new] do not use array subscript when the index is not an integer constant expression

Check failure on line 395 in include/mgutility/std/string_view.hpp

See this annotation in the file changed.

@trunk-io trunk-io / Trunk Check

clang-tidy(cppcoreguidelines-pro-bounds-constant-array-index)

[new] do not use array subscript when the index is not an integer constant expression

Check failure on line 69 in include/mgutility/std/string_view.hpp

See this annotation in the file changed.

@trunk-io trunk-io / Trunk Check

clang-tidy(cppcoreguidelines-pro-bounds-pointer-arithmetic)

[new] do not use pointer arithmetic

Check failure on line 70 in include/mgutility/std/string_view.hpp

See this annotation in the file changed.

@trunk-io trunk-io / Trunk Check

clang-tidy(cppcoreguidelines-pro-bounds-pointer-arithmetic)

[new] do not use pointer arithmetic

Check failure on line 383 in include/mgutility/std/string_view.hpp

See this annotation in the file changed.

@trunk-io trunk-io / Trunk Check

clang-tidy(cppcoreguidelines-avoid-c-arrays)

[new] do not declare C-style arrays, use std::array<> instead

Check failure on line 400 in include/mgutility/std/string_view.hpp

See this annotation in the file changed.

@trunk-io trunk-io / Trunk Check

clang-tidy(misc-const-correctness)

[new] variable 'chr' of type 'char' can be declared 'const'

Check failure on line 416 in include/mgutility/std/string_view.hpp

See this annotation in the file changed.

@trunk-io trunk-io / Trunk Check

clang-tidy(cppcoreguidelines-pro-bounds-constant-array-index)

[new] do not use array subscript when the index is not an integer constant expression

Check failure on line 356 in include/mgutility/std/string_view.hpp

See this annotation in the file changed.

@trunk-io trunk-io / Trunk Check

clang-tidy(cppcoreguidelines-avoid-c-arrays)

[new] do not declare C-style arrays, use std::array<> instead

Check failure on line 409 in include/mgutility/std/string_view.hpp

See this annotation in the file changed.

@trunk-io trunk-io / Trunk Check

clang-tidy(cppcoreguidelines-pro-bounds-constant-array-index)

[new] do not use array subscript when the index is not an integer constant expression

Check failure on line 434 in include/mgutility/std/string_view.hpp

See this annotation in the file changed.

@trunk-io trunk-io / Trunk Check

clang-tidy(readability-identifier-length)

[new] parameter name 'os' is too short, expected at least 3 characters

Check failure on line 445 in include/mgutility/std/string_view.hpp

See this annotation in the file changed.

@trunk-io trunk-io / Trunk Check

clang-tidy(cppcoreguidelines-avoid-c-arrays)

[new] do not declare C-style arrays, use std::array<> instead

Check failure on line 69 in include/mgutility/std/string_view.hpp

See this annotation in the file changed.

@trunk-io trunk-io / Trunk Check

clang-tidy(cppcoreguidelines-pro-bounds-pointer-arithmetic)

[new] do not use pointer arithmetic

Check failure on line 79 in include/mgutility/std/string_view.hpp

See this annotation in the file changed.

@trunk-io trunk-io / Trunk Check

clang-tidy(cppcoreguidelines-pro-bounds-constant-array-index)

[new] do not use array subscript when the index is not an integer constant expression

Check failure on line 69 in include/mgutility/std/string_view.hpp

See this annotation in the file changed.

@trunk-io trunk-io / Trunk Check

clang-tidy(cppcoreguidelines-pro-bounds-pointer-arithmetic)

[new] do not use pointer arithmetic

Check failure on line 70 in include/mgutility/std/string_view.hpp

See this annotation in the file changed.

@trunk-io trunk-io / Trunk Check

clang-tidy(cppcoreguidelines-pro-bounds-pointer-arithmetic)

[new] do not use pointer arithmetic

Check failure on line 389 in include/mgutility/std/string_view.hpp

See this annotation in the file changed.

@trunk-io trunk-io / Trunk Check

clang-tidy(cppcoreguidelines-avoid-c-arrays)

[new] do not declare C-style arrays, use std::array<> instead

Check failure on line 401 in include/mgutility/std/string_view.hpp

See this annotation in the file changed.

@trunk-io trunk-io / Trunk Check

clang-tidy(cppcoreguidelines-pro-bounds-constant-array-index)

[new] do not use array subscript when the index is not an integer constant expression

Check failure on line 349 in include/mgutility/std/string_view.hpp

See this annotation in the file changed.

@trunk-io trunk-io / Trunk Check

clang-tidy(cppcoreguidelines-avoid-c-arrays)

[new] do not declare C-style arrays, use std::array<> instead

Check failure on line 44 in include/mgutility/std/string_view.hpp

See this annotation in the file changed.

@trunk-io trunk-io / Trunk Check

clang-tidy(readability-identifier-length)

[new] parameter name 'sz' is too short, expected at least 3 characters

Check failure on line 403 in include/mgutility/std/string_view.hpp

See this annotation in the file changed.

@trunk-io trunk-io / Trunk Check

clang-tidy(cppcoreguidelines-pro-bounds-constant-array-index)

[new] do not use array subscript when the index is not an integer constant expression

Check failure on line 437 in include/mgutility/std/string_view.hpp

See this annotation in the file changed.

@trunk-io trunk-io / Trunk Check

clang-tidy(cppcoreguidelines-pro-bounds-constant-array-index)

[new] do not use array subscript when the index is not an integer constant expression

Check failure on line 69 in include/mgutility/std/string_view.hpp

See this annotation in the file changed.

@trunk-io trunk-io / Trunk Check

clang-tidy(cppcoreguidelines-pro-bounds-pointer-arithmetic)

[new] do not use pointer arithmetic