Skip to content

Cleanup#16

Closed
steve-downey wants to merge 2 commits intobemanproject:mainfrom
steve-downey:cleanup
Closed

Cleanup#16
steve-downey wants to merge 2 commits intobemanproject:mainfrom
steve-downey:cleanup

Conversation

@steve-downey
Copy link
Copy Markdown
Member

Bring the project up to the current model with beman infra.

Update the infra and conform to the patterns produced by the beman
cookiecutter.
Clean up warnings from GCC.
Comment on lines +34 to +35
beman.cstring_view
PUBLIC FILE_SET HEADERS BASE_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/include"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[pre-commit] reported by reviewdog 🐶

Suggested change
beman.cstring_view
PUBLIC FILE_SET HEADERS BASE_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/include"
beman.cstring_view
PUBLIC FILE_SET HEADERS BASE_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/include"

Comment on lines +39 to +40
beman.cstring_view
PROPERTIES VERIFY_INTERFACE_HEADER_SETS ${PROJECT_IS_TOP_LEVEL}
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[pre-commit] reported by reviewdog 🐶

Suggested change
beman.cstring_view
PROPERTIES VERIFY_INTERFACE_HEADER_SETS ${PROJECT_IS_TOP_LEVEL}
beman.cstring_view
PROPERTIES VERIFY_INTERFACE_HEADER_SETS ${PROJECT_IS_TOP_LEVEL}

Comment on lines +48 to +49
enable_testing()
add_subdirectory(tests/beman/cstring_view)
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[pre-commit] reported by reviewdog 🐶

Suggested change
enable_testing()
add_subdirectory(tests/beman/cstring_view)
enable_testing()
add_subdirectory(tests/beman/cstring_view)


if(BEMAN_CSTRING_VIEW_BUILD_EXAMPLES)
add_subdirectory(examples)
add_subdirectory(examples)
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[pre-commit] reported by reviewdog 🐶

Suggested change
add_subdirectory(examples)
add_subdirectory(examples)

Comment on lines +77 to +81
constexpr cstring_view operator""csv(const char* str, size_t len) noexcept;
constexpr u8cstring_view operator""csv(const char8_t* str, size_t len) noexcept;
constexpr u16cstring_view operator""csv(const char16_t* str, size_t len) noexcept;
constexpr u32cstring_view operator""csv(const char32_t* str, size_t len) noexcept;
constexpr wcstring_view operator""csv(const wchar_t* str, size_t len) noexcept;
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[pre-commit] reported by reviewdog 🐶

Suggested change
constexpr cstring_view operator""csv(const char* str, size_t len) noexcept;
constexpr u8cstring_view operator""csv(const char8_t* str, size_t len) noexcept;
constexpr u16cstring_view operator""csv(const char16_t* str, size_t len) noexcept;
constexpr u32cstring_view operator""csv(const char32_t* str, size_t len) noexcept;
constexpr wcstring_view operator""csv(const wchar_t* str, size_t len) noexcept;
constexpr cstring_view operator"" csv(const char* str, size_t len) noexcept;
constexpr u8cstring_view operator"" csv(const char8_t* str, size_t len) noexcept;
constexpr u16cstring_view operator"" csv(const char16_t* str, size_t len) noexcept;
constexpr u32cstring_view operator"" csv(const char32_t* str, size_t len) noexcept;
constexpr wcstring_view operator"" csv(const wchar_t* str, size_t len) noexcept;

@ednolan
Copy link
Copy Markdown
Member

ednolan commented Mar 25, 2026

I'll take over making this change.

@ednolan ednolan closed this Mar 25, 2026
@ednolan
Copy link
Copy Markdown
Member

ednolan commented Mar 25, 2026

Superseded by #17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants