[Clang-Tidy] 314 warnings
[Clang-Tidy] 314 warnings
(show only the first 50 annotations)
Annotations
Check warning on line 10 in src/concurrency_control/include/wp_lock.h
github-actions / Clang-Tidy
hicpp-signed-bitwise
use of a signed integer operand with a binary bitwise operator
Check warning on line 10 in src/concurrency_control/include/wp_lock.h
github-actions / Clang-Tidy
readability-implicit-bool-conversion
implicit conversion 'unsigned long' -> bool
Check warning on line 19 in src/concurrency_control/wp_lock.cpp
github-actions / Clang-Tidy
hicpp-signed-bitwise
use of a signed integer operand with a binary bitwise operator
Check warning on line 30 in src/concurrency_control/wp_lock.cpp
github-actions / Clang-Tidy
hicpp-signed-bitwise
use of a signed integer operand with a binary bitwise operator
Check warning on line 32 in src/concurrency_control/wp_lock.cpp
github-actions / Clang-Tidy
hicpp-signed-bitwise
use of a signed integer operand with a binary bitwise operator
Check warning on line 39 in include/shirakami/binary_printer.h
github-actions / Clang-Tidy
cppcoreguidelines-pro-bounds-pointer-arithmetic
do not use pointer arithmetic
Check warning on line 48 in include/shirakami/binary_printer.h
github-actions / Clang-Tidy
cppcoreguidelines-pro-bounds-pointer-arithmetic
do not use pointer arithmetic
Check warning on line 22 in src/include/memory.h
github-actions / Clang-Tidy
cppcoreguidelines-pro-type-union-access
do not access members of unions; use (boost::)variant instead
Check warning on line 32 in src/include/memory.h
github-actions / Clang-Tidy
cppcoreguidelines-pro-type-vararg,hicpp-vararg
do not call c-style vararg functions
Check warning on line 32 in include/shirakami/storage_options.h
github-actions / Clang-Tidy
google-explicit-constructor,hicpp-explicit-conversions
single-argument constructors must be marked explicit to avoid unintentional implicit conversions
Check warning on line 34 in src/concurrency_control/include/epoch.h
github-actions / Clang-Tidy
bugprone-implicit-widening-of-multiplication-result
performing an implicit widening conversion to type 'std::atomic<unsigned long>::__integral_type' (aka 'unsigned long') of a multiplication performed in type 'int'
Check warning on line 34 in src/concurrency_control/include/epoch.h
github-actions / Clang-Tidy
cppcoreguidelines-avoid-magic-numbers,readability-magic-numbers
40 is a magic number; consider replacing it with a named constant
Check warning on line 34 in src/concurrency_control/include/epoch.h
github-actions / Clang-Tidy
cppcoreguidelines-avoid-magic-numbers,readability-magic-numbers
1000 is a magic number; consider replacing it with a named constant
Check warning on line 50 in src/concurrency_control/include/epoch.h
github-actions / Clang-Tidy
fuchsia-statically-constructed-objects
static objects are disallowed; if possible, use a constexpr constructor instead
Check warning on line 52 in src/concurrency_control/include/epoch.h
github-actions / Clang-Tidy
fuchsia-statically-constructed-objects
static objects are disallowed; if possible, use a constexpr constructor instead
Check warning on line 10 in src/database/include/tx_state_notification.h
github-actions / Clang-Tidy
fuchsia-statically-constructed-objects
static objects are disallowed; if possible, use a constexpr constructor instead
Check warning on line 39 in src/database/tx_state_notification.cpp
github-actions / Clang-Tidy
performance-unnecessary-value-param
the const qualified parameter 'cb' is copied for each invocation; consider making it a reference
Check warning on line 157 in src/include/storage.h
github-actions / Clang-Tidy
fuchsia-default-arguments-declarations
declaring a parameter with a default argument is disallowed
Check warning on line 219 in src/include/storage.h
github-actions / Clang-Tidy
fuchsia-statically-constructed-objects
static objects are disallowed; if possible, use a constexpr constructor instead
Check warning on line 18 in src/concurrency_control/include/tid.h
github-actions / Clang-Tidy
cppcoreguidelines-special-member-functions,hicpp-special-member-functions
class 'tid_word' defines a copy constructor and a copy assignment operator but does not define a destructor, a move constructor or a move assignment operator
Check warning on line 20 in src/concurrency_control/include/tid.h
github-actions / Clang-Tidy
misc-non-private-member-variables-in-classes
member variable '' has public visibility
Check warning on line 35 in src/concurrency_control/include/tid.h
github-actions / Clang-Tidy
cppcoreguidelines-pro-type-member-init,hicpp-member-init
constructor does not initialize these fields: lock_, lock_by_gc_, latest_, absent_, tid_, by_short_, epoch_
Check warning on line 39 in src/concurrency_control/include/tid.h
github-actions / Clang-Tidy
cppcoreguidelines-pro-type-member-init,hicpp-member-init
constructor does not initialize these fields: lock_, lock_by_gc_, latest_, absent_, tid_, by_short_, epoch_
Check warning on line 39 in src/concurrency_control/include/tid.h
github-actions / Clang-Tidy
google-explicit-constructor,hicpp-explicit-conversions
single-argument constructors must be marked explicit to avoid unintentional implicit conversions
Check warning on line 40 in src/concurrency_control/include/tid.h
github-actions / Clang-Tidy
cppcoreguidelines-pro-type-member-init,hicpp-member-init
constructor does not initialize these fields: lock_, lock_by_gc_, latest_, absent_, tid_, by_short_, epoch_