R3BROOT
R3B analysis software
|
Warnings given by clang-tidy or clangd are configured in .clang-tidy
yaml file in the nearest folder. Detector specific folders can have different configurations defined in the global.yml. The customary configuration files in folders for a detector should be symbolic links to a common file located at config/clang_tidy/${detector_name}.yml
.
Currently there are 3 different folders for each detector:
R3BRoot/${detector_name}/
R3BRoot/r3bsource/${detector_name}/
R3BRoot/r3bdata/${detector_name}Data/
Here is an example of how to create 3 symbolic links in the folders related to NeuLAND:
Ways to ignore certain warnings among the code can be found in clang-tidy official website.
Here is a summary with some examples (copied directly from the website):
NOLINT
NOLINTNEXTLINE
NOLINTBEGIN
and NOLINTEND