Closed elfenpiff closed 2 years ago
@elfenpiff convert
is not done yet. clang-tidy
does not report warnings because the hpp
is not included in the inl
. I uncheck the checkbox
@elfenpiff I would exclude log and error handler from clang-tidy checks. These will be refactored anyway and there is no need to waste time on it right now.
Brief feature description
At the moment a lot of clang-tidy checks in our root
.clang-tidy
file are disabled to ensure that our codebase is at least warning free with a minimal subset of clang-tidy checks.We should enable the disabled checks one by one and solve the generated warnings in the same step. Some of the warnings require a larger refactoring. If this happens please create another issue and add a todo link in this issue.
ToDo
CMakeLists.txt
and the entryset(TEST_CXX_FLAGS PRIVATE ${ICEORYX_WARNINGS} ${ICEORYX_SANITIZER_FLAGS} -Wno-pedantic -Wno-conversion)
and fix all warnings..clang-tidy
file in every test disables warning which originate from the googletest fixtures itself. For instanceTEST_F
andTYPED_TEST
have a rule of 5 warning.Hints
The
.clang-tidy
file may have warnings which do not fit for us. If this is the case then please disable the warning and write a justification why this is rule is not appropriate. Example:CI checks
iceoryx_hoofs
diff checkscxx
@elfenpiffconcurrent
@elfenpiffdesign_pattern
@elfenpiffposix_wrapper
@elfenpiffunits
@elfenpifficeoryx_hoofs
full nightly scan based on.clang-tidy-diff-scans.txt
@elfenpiffFiles
When a file is stated, it means the header, inline file, cpp file and also the tests are refined.
iceoryx_hoofs/cxx
adaptive_wait
@elfenpiffalgorithm
@elfenpiffattributes.hpp
@elfenpiff (muahahha there were no warnings but it still counts!)convert
@elfenpiffdeadline_timer
@elfenpiffexpected
@elfenpifffile_reader
@FerdinandSpitzschnuefflerfilesystem
@elfenpiffforward_list
@FerdinandSpitzschnuefflerfunction_ref
@mossmauricefunction
@elfenpifffunctional_interface
@elfenpiffgeneric_raii
@elfenpiffhelplets
@elfenpifflist
@elfenpiffnewtype
@elBoberidooptional
@FerdinandSpitzschnuefflerpair
@elfenpiffpoor_mans_heap
@elBoberidoreference_counter
@elfenpiffrequires
@elfenpiffscoped_static
@elfenpiffserialization
@elBoberidoset
@elfenpiffstatic_storage
@elfenpiffstack
@elBoberidostorable_function
@elfenpiffstring
@FerdinandSpitzschnuefflertypes
@elBoberidotype_traits
@elfenpiffunique_id
@elfenpiffunique_ptr
@mossmauricevariant
@mossmauricevariant_queue
@FerdinandSpitzschnuefflervector
@mossmauriceiceoryx_hoofs/units
duration
@elBoberidoiceoryx_hoofs/concurrent
lockfree_queue
complete folder + header @MatthiasKillatactive_object
(ignore because it's obsolete?)fifo
@FerdinandSpitzschnuefflerloffli
@FerdinandSpitzschnuefflerperiodic_task
@FerdinandSpitzschnuefflersmart_lock
@FerdinandSpitzschnuefflersofi
@FerdinandSpitzschnuefflertaco
@FerdinandSpitzschnuefflertrigger_queue
(no warnings to fix)iceoryx_hoofs/rp
PointerRepository
@mossmauriceRelativePointer
@mossmauriceBaseRelativePointer
@mossmauriceRelativePointerData
@mossmauricerelocatable_ptr
@MatthiasKillatposix_wrapper
access_control
@elfenpifffile_lock
@elfenpiffipc_channel
@elfenpiffmessage_queue
@elfenpiffmutex
@elfenpiffnamed_pipe
@elfenpiffnamed_semaphore
@elfenpiffposix_access_rights
@elfenpiffposix_call
@elfenpiffsemaphore_interface
@elfenpiffsignal_handler
@elfenpiffsignal_watcher
@elfenpiffsystem_configuration
@FerdinandSpitzschnuefflerthread
@FerdinandSpitzschnuefflertypes
@FerdinandSpitzschnuefflerunix_domain_socket
@FerdinandSpitzschnuefflerunnamed_semaphore
@elfenpiffTODOs after merge of the integration branch
// NOLINTNEXTLINE (
operator<<
infilesystem.cpp
to reduce code complexityoperator std::string()
fromcxx::string
and implementtoStdString
methodEXPECT_DEATH
requires.hpp
with error handlercxx::convert
to handle allcxx::string
capacitiesstrerror_s
handling. Is only added to windows but must be added to platform libc layerduration
should use Newtype pattern to parameter mixup