mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2026-11-25 21:21:37 +00:00
feat(tidy): add fairmq-performance-channel-lookup-in-loop
- Report GetChannel() and GetChannels() calls in an override of ConditionalRun() or in a loop in an override of Run(). Each call looks up the channel name in a map. - Skip the short form Send(msg, "name"): it is the usual style. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -32,6 +32,8 @@ endif()
|
||||
|
||||
# The fairmq-* checks as a clang-tidy module.
|
||||
add_library(fairmq-tidy-module OBJECT
|
||||
ChannelLookupInLoopCheck.cxx
|
||||
ChannelLookupInLoopCheck.h
|
||||
ChannelsAccessCheck.cxx
|
||||
ChannelsAccessCheck.h
|
||||
DeprecatedFunctionsCheck.cxx
|
||||
|
||||
Reference in New Issue
Block a user