feat: Enable cursor to access clear_storage from sorting_context #714
Annotations
2 errors and 6 warnings
Build (ubuntu-24.04)
Process completed with exit code 1.
|
Analysis
- *<https://github.com/project-tsurugi/limestone/runs/31676587060?check_suite_focus=true|[Clang-Tidy] 6 warnings>*
|
cppcoreguidelines-special-member-functions,hicpp-special-member-functions:
include/limestone/api/snapshot.h#L35
class 'snapshot' defines a non-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:
include/limestone/api/snapshot.h#L37
redundant access specifier has the same accessibility as the previous access specifier
|
readability-avoid-const-params-in-decls:
src/limestone/sorting_context.h#L45
parameter 'sid' is const-qualified in the function declaration; const-qualification of parameters only has an effect in function definitions
|
readability-avoid-const-params-in-decls:
src/limestone/sorting_context.h#L45
parameter 'wv' is const-qualified in the function declaration; const-qualification of parameters only has an effect in function definitions
|
readability-avoid-const-params-in-decls:
src/limestone/sorting_context.h#L46
parameter 'sid' is const-qualified in the function declaration; const-qualification of parameters only has an effect in function definitions
|
modernize-use-nodiscard:
src/limestone/sorting_context.h#L47
function 'get_clear_storage' should be marked [[nodiscard]]
|