[Clang-Tidy] 24 warnings
[Clang-Tidy] 24 warnings
Annotations
Check warning on line 255 in src/limestone/log_entry.h
github-actions / Clang-Tidy
cppcoreguidelines-pro-type-reinterpret-cast
do not use reinterpret_cast
Check warning on line 264 in src/limestone/log_entry.h
github-actions / Clang-Tidy
cppcoreguidelines-pro-type-reinterpret-cast
do not use reinterpret_cast
Check warning on line 88 in src/limestone/logging_helper.h
github-actions / Clang-Tidy
cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays
do not declare C-style arrays, use std::array<> instead
Check warning on line 88 in src/limestone/logging_helper.h
github-actions / Clang-Tidy
cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays
do not declare C-style arrays, use std::array<> instead
Check warning on line 89 in src/limestone/logging_helper.h
github-actions / Clang-Tidy
cppcoreguidelines-pro-bounds-array-to-pointer-decay
do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead
Check warning on line 89 in src/limestone/logging_helper.h
github-actions / Clang-Tidy
cppcoreguidelines-pro-bounds-array-to-pointer-decay
do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead
Check warning on line 47 in src/limestone/log_channel.cpp
github-actions / Clang-Tidy
cppcoreguidelines-owning-memory
assigning newly created 'gsl::owner<>' to non-owner 'FILE *' (aka '_IO_FILE *')
Check warning on line 52 in src/limestone/log_channel.cpp
github-actions / Clang-Tidy
cert-err33-c
the value returned by this function should be used
Check warning on line 72 in src/limestone/log_channel.cpp
github-actions / Clang-Tidy
cppcoreguidelines-owning-memory
calling legacy resource function without passing a 'gsl::owner<>'
Check warning on line 80 in src/limestone/datastore_snapshot.cpp
github-actions / Clang-Tidy
cppcoreguidelines-pro-type-reinterpret-cast
do not use reinterpret_cast
Check warning on line 81 in src/limestone/datastore_snapshot.cpp
github-actions / Clang-Tidy
cppcoreguidelines-pro-type-reinterpret-cast
do not use reinterpret_cast
Check warning on line 95 in src/limestone/datastore_snapshot.cpp
github-actions / Clang-Tidy
readability-function-cognitive-complexity
function 'create_snapshot' has cognitive complexity of 41 (threshold 25)
Check warning on line 132 in src/limestone/datastore_snapshot.cpp
github-actions / Clang-Tidy
readability-container-data-pointer
'data' should be used for accessing the data pointer instead of taking the address of the 0-th element
Check warning on line 132 in src/limestone/datastore_snapshot.cpp
github-actions / Clang-Tidy
readability-container-data-pointer
'data' should be used for accessing the data pointer instead of taking the address of the 0-th element
Check warning on line 217 in src/limestone/datastore_snapshot.cpp
github-actions / Clang-Tidy
cppcoreguidelines-owning-memory
initializing non-owner 'FILE *' (aka '_IO_FILE *') with a newly created 'gsl::owner<>'
Check warning on line 222 in src/limestone/datastore_snapshot.cpp
github-actions / Clang-Tidy
cert-err33-c
the value returned by this function should be used
Check warning on line 267 in src/limestone/datastore_snapshot.cpp
github-actions / Clang-Tidy
cppcoreguidelines-owning-memory
calling legacy resource function without passing a 'gsl::owner<>'
Check warning on line 98 in src/limestone/sortdb_wrapper.h
github-actions / Clang-Tidy
cppcoreguidelines-owning-memory
deleting a pointer through a type that is not marked 'gsl::owner<>'; consider using a smart pointer instead
Check warning on line 58 in src/limestone/datastore.cpp
github-actions / Clang-Tidy
cppcoreguidelines-owning-memory
initializing non-owner 'FILE *' (aka '_IO_FILE *') with a newly created 'gsl::owner<>'
Check warning on line 63 in src/limestone/datastore.cpp
github-actions / Clang-Tidy
cppcoreguidelines-owning-memory
calling legacy resource function without passing a 'gsl::owner<>'
Check warning on line 121 in src/limestone/datastore.cpp
github-actions / Clang-Tidy
readability-function-cognitive-complexity
function 'update_min_epoch_id' has cognitive complexity of 32 (threshold 25)
Check warning on line 149 in src/limestone/datastore.cpp
github-actions / Clang-Tidy
cppcoreguidelines-owning-memory
initializing non-owner 'FILE *' (aka '_IO_FILE *') with a newly created 'gsl::owner<>'
Check warning on line 163 in src/limestone/datastore.cpp
github-actions / Clang-Tidy
cppcoreguidelines-owning-memory
calling legacy resource function without passing a 'gsl::owner<>'
Check warning on line 216 in src/limestone/datastore.cpp
github-actions / Clang-Tidy
readability-function-cognitive-complexity
function 'begin_backup' has cognitive complexity of 28 (threshold 25)