Skip to content

cppcheck: define CHECK macros

Frank Winklmeier requested to merge fwinkl/athena:fwinkl_20241217T135701 into main

Hide the ASG_CHECK macros from cppcheck (we already do the same for the regular CHECK macros). Instead define the macros in the athena library. This fixes some of the cppcheck warnings in !76498.

Also add a test-case in AthenaKernel for the use of CHECK in unscoped if-statements.

cc @ssnyder @sroe

Edited by Frank Winklmeier

Merge request reports

Loading