Distinct clang-tidy.log #238
Annotations
52 warnings
bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions:
src/limestone/log_entry.h#L97
narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::streamsize' (aka 'long') is implementation-defined
|
bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions:
src/limestone/log_entry.h#L101
narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::streamsize' (aka 'long') is implementation-defined
|
bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions:
src/limestone/log_entry.h#L116
narrowing conversion from 'std::basic_string_view::size_type' (aka 'unsigned long') to signed type 'std::streamsize' (aka 'long') is implementation-defined
|
bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions:
src/limestone/log_entry.h#L117
narrowing conversion from 'std::basic_string_view::size_type' (aka 'unsigned long') to signed type 'std::streamsize' (aka 'long') is implementation-defined
|
bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions:
src/limestone/log_entry.h#L129
narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::streamsize' (aka 'long') is implementation-defined
|
bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions:
src/limestone/log_entry.h#L143
narrowing conversion from 'std::basic_string_view::size_type' (aka 'unsigned long') to signed type 'std::streamsize' (aka 'long') is implementation-defined
|
bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions:
src/limestone/log_entry.h#L144
narrowing conversion from 'std::basic_string_view::size_type' (aka 'unsigned long') to signed type 'std::streamsize' (aka 'long') is implementation-defined
|
bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions:
src/limestone/log_entry.h#L162
narrowing conversion from 'std::basic_string<char>::size_type' (aka 'unsigned long') to signed type 'std::streamsize' (aka 'long') is implementation-defined
|
bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions:
src/limestone/log_entry.h#L164
narrowing conversion from 'std::basic_string<char>::size_type' (aka 'unsigned long') to signed type 'std::streamsize' (aka 'long') is implementation-defined
|
bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions:
src/limestone/log_entry.h#L172
narrowing conversion from 'std::basic_string<char>::size_type' (aka 'unsigned long') to signed type 'std::streamsize' (aka 'long') is implementation-defined
|
bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions:
src/limestone/log_entry.h#L174
narrowing conversion from 'std::basic_string<char>::size_type' (aka 'unsigned long') to signed type 'std::streamsize' (aka 'long') is implementation-defined
|
bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions:
src/limestone/logging_helper.h#L38
narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'int' is implementation-defined
|
modernize-return-braced-init-list:
src/limestone/logging_helper.h#L51
avoid repeating the return type from the declaration; use a braced initializer list instead
|
bugprone-unhandled-exception-at-new:
src/limestone/snapshot.cpp#L30
missing exception handler for allocation failure at 'new'
|
readability-function-cognitive-complexity:
src/limestone/cursor.cpp#L37
function 'next' has cognitive complexity of 27 (threshold 25)
|
readability-function-cognitive-complexity:
src/limestone/datastore_restore.cpp#L28
function 'restore' has cognitive complexity of 98 (threshold 25)
|
readability-function-cognitive-complexity:
src/limestone/datastore_restore.cpp#L66
function 'restore' has cognitive complexity of 54 (threshold 25)
|
abseil-string-find-startswith:
src/limestone/datastore_snapshot.cpp#L57
use absl::StartsWith instead of rfind() == 0
|
readability-function-cognitive-complexity:
src/limestone/datastore_snapshot.cpp#L72
function 'create_snapshot' has cognitive complexity of 118 (threshold 25)
|
readability-function-cognitive-complexity:
src/limestone/datastore.cpp#L35
function 'datastore' has cognitive complexity of 53 (threshold 25)
|
cppcoreguidelines-prefer-member-initializer:
src/limestone/datastore.cpp#L36
'location_' should be initialized in a member initializer of the constructor
|
bugprone-unhandled-exception-at-new:
src/limestone/datastore.cpp#L84
missing exception handler for allocation failure at 'new'
|
bugprone-unhandled-exception-at-new:
src/limestone/datastore.cpp#L89
missing exception handler for allocation failure at 'new'
|
bugprone-unhandled-exception-at-new:
src/limestone/datastore.cpp#L98
missing exception handler for allocation failure at 'new'
|
bugprone-unhandled-exception-at-new:
src/limestone/datastore.cpp#L190
missing exception handler for allocation failure at 'new'
|
readability-function-cognitive-complexity:
src/limestone/datastore.cpp#L194
function 'begin_backup' has cognitive complexity of 35 (threshold 25)
|
bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions:
src/limestone/log_entry.h#L97
narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::streamsize' (aka 'long') is implementation-defined
|
bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions:
src/limestone/log_entry.h#L101
narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::streamsize' (aka 'long') is implementation-defined
|
bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions:
src/limestone/log_entry.h#L116
narrowing conversion from 'std::basic_string_view::size_type' (aka 'unsigned long') to signed type 'std::streamsize' (aka 'long') is implementation-defined
|
bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions:
src/limestone/log_entry.h#L117
narrowing conversion from 'std::basic_string_view::size_type' (aka 'unsigned long') to signed type 'std::streamsize' (aka 'long') is implementation-defined
|
bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions:
src/limestone/log_entry.h#L129
narrowing conversion from 'std::size_t' (aka 'unsigned long') to signed type 'std::streamsize' (aka 'long') is implementation-defined
|
bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions:
src/limestone/log_entry.h#L143
narrowing conversion from 'std::basic_string_view::size_type' (aka 'unsigned long') to signed type 'std::streamsize' (aka 'long') is implementation-defined
|
bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions:
src/limestone/log_entry.h#L144
narrowing conversion from 'std::basic_string_view::size_type' (aka 'unsigned long') to signed type 'std::streamsize' (aka 'long') is implementation-defined
|
bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions:
src/limestone/log_entry.h#L162
narrowing conversion from 'std::basic_string<char>::size_type' (aka 'unsigned long') to signed type 'std::streamsize' (aka 'long') is implementation-defined
|
bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions:
src/limestone/log_entry.h#L164
narrowing conversion from 'std::basic_string<char>::size_type' (aka 'unsigned long') to signed type 'std::streamsize' (aka 'long') is implementation-defined
|
bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions:
src/limestone/log_entry.h#L172
narrowing conversion from 'std::basic_string<char>::size_type' (aka 'unsigned long') to signed type 'std::streamsize' (aka 'long') is implementation-defined
|
bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions:
src/limestone/log_entry.h#L174
narrowing conversion from 'std::basic_string<char>::size_type' (aka 'unsigned long') to signed type 'std::streamsize' (aka 'long') is implementation-defined
|
readability-function-cognitive-complexity:
src/limestone/cursor.cpp#L37
function 'next' has cognitive complexity of 27 (threshold 25)
|
bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions:
src/limestone/logging_helper.h#L38
narrowing conversion from 'size_t' (aka 'unsigned long') to signed type 'int' is implementation-defined
|
modernize-return-braced-init-list:
src/limestone/logging_helper.h#L51
avoid repeating the return type from the declaration; use a braced initializer list instead
|
bugprone-unhandled-exception-at-new:
src/limestone/snapshot.cpp#L30
missing exception handler for allocation failure at 'new'
|
readability-function-cognitive-complexity:
src/limestone/datastore_restore.cpp#L28
function 'restore' has cognitive complexity of 98 (threshold 25)
|
readability-function-cognitive-complexity:
src/limestone/datastore_restore.cpp#L66
function 'restore' has cognitive complexity of 54 (threshold 25)
|
abseil-string-find-startswith:
src/limestone/datastore_snapshot.cpp#L57
use absl::StartsWith instead of rfind() == 0
|
readability-function-cognitive-complexity:
src/limestone/datastore_snapshot.cpp#L72
function 'create_snapshot' has cognitive complexity of 118 (threshold 25)
|
readability-function-cognitive-complexity:
src/limestone/datastore.cpp#L35
function 'datastore' has cognitive complexity of 53 (threshold 25)
|
cppcoreguidelines-prefer-member-initializer:
src/limestone/datastore.cpp#L36
'location_' should be initialized in a member initializer of the constructor
|
bugprone-unhandled-exception-at-new:
src/limestone/datastore.cpp#L84
missing exception handler for allocation failure at 'new'
|
bugprone-unhandled-exception-at-new:
src/limestone/datastore.cpp#L89
missing exception handler for allocation failure at 'new'
|
bugprone-unhandled-exception-at-new:
src/limestone/datastore.cpp#L98
missing exception handler for allocation failure at 'new'
|
bugprone-unhandled-exception-at-new:
src/limestone/datastore.cpp#L190
missing exception handler for allocation failure at 'new'
|
readability-function-cognitive-complexity:
src/limestone/datastore.cpp#L194
function 'begin_backup' has cognitive complexity of 35 (threshold 25)
|