cleanup: clang-tidy #667
Annotations
2 errors and 11 warnings
Build (ubuntu-24.04)
Process completed with exit code 1.
|
Analysis
- *<https://github.com/project-tsurugi/limestone/runs/30292604309?check_suite_focus=true|[Clang-Tidy] 11 warnings>*
|
modernize-use-nodiscard:
include/limestone/api/limestone_exception.h#L36
function 'error_code' should be marked [[nodiscard]]
|
cppcoreguidelines-special-member-functions,hicpp-special-member-functions:
src/limestone/file_operations.h#L41
class 'file_operations' defines a default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator
|
readability-redundant-access-specifiers:
src/limestone/compaction_catalog.h#L235
redundant access specifier has the same accessibility as the previous access specifier
|
misc-definitions-in-headers:
src/limestone/limestone_exception_helper.h#L14
function 'throw_limestone_exception' defined in a header file; function definitions in header files can lead to ODR violations
|
misc-definitions-in-headers:
src/limestone/limestone_exception_helper.h#L18
function 'throw_limestone_io_exception' defined in a header file; function definitions in header files can lead to ODR violations
|
misc-definitions-in-headers:
src/limestone/limestone_exception_helper.h#L22
function 'log_and_throw_exception' defined in a header file; function definitions in header files can lead to ODR violations
|
misc-definitions-in-headers:
src/limestone/limestone_exception_helper.h#L27
function 'log_and_throw_io_exception' defined in a header file; function definitions in header files can lead to ODR violations
|
cppcoreguidelines-macro-usage:
src/limestone/limestone_exception_helper.h#L33
function-like macro 'THROW_LIMESTONE_EXCEPTION' used; consider a 'constexpr' template function
|
cppcoreguidelines-macro-usage:
src/limestone/limestone_exception_helper.h#L34
function-like macro 'THROW_LIMESTONE_IO_EXCEPTION' used; consider a 'constexpr' template function
|
cppcoreguidelines-macro-usage:
src/limestone/limestone_exception_helper.h#L35
function-like macro 'LOG_AND_THROW_EXCEPTION' used; consider a 'constexpr' template function
|
cppcoreguidelines-macro-usage:
src/limestone/limestone_exception_helper.h#L36
function-like macro 'LOG_AND_THROW_IO_EXCEPTION' used; consider a 'constexpr' template function
|