[PWGCF] FemtoUniverse: Fix clang-format issues #23487
Annotations
10 errors and 2 notices
|
[const-ref-in-process]:
PWGCF/FemtoUniverse/Tasks/femtoUniverseDebugTrack.cxx#L248
Argument o2::aod::FdCollision& col is not const&.
|
|
[const-ref-in-for-loop]:
PWGCF/FemtoUniverse/Tasks/femtoUniverseDebugTrack.cxx#L229
Use constant references for non-modified iterators in range-based for loops.
|
|
[name/workflow-file]:
PWGCF/FemtoUniverse/Tasks/femtoUniverseCutCulator.cxx#L1
Name of a workflow file must match the name of the main struct in it (without the PWG prefix). (Class implementation files should be in "Core" directories.)
|
|
[magic-number]:
PWGCF/FemtoUniverse/Tasks/femtoUniverseCutCulator.cxx#L74
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[logging]:
PWGCF/FemtoUniverse/Tasks/femtoUniverseCutCulator.cxx#L84
Use O2 logging (LOG, LOGF, LOGP).
|
|
[logging]:
PWGCF/FemtoUniverse/Tasks/femtoUniverseCutCulator.cxx#L79
Use O2 logging (LOG, LOGF, LOGP).
|
|
[logging]:
PWGCF/FemtoUniverse/Tasks/femtoUniverseCutCulator.cxx#L63
Use O2 logging (LOG, LOGF, LOGP).
|
|
[logging]:
PWGCF/FemtoUniverse/Tasks/femtoUniverseCutCulator.cxx#L56
Use O2 logging (LOG, LOGF, LOGP).
|
|
[logging]:
PWGCF/FemtoUniverse/Tasks/femtoUniverseCutCulator.cxx#L50
Use O2 logging (LOG, LOGF, LOGP).
|
|
[include-iostream]:
PWGCF/FemtoUniverse/Tasks/femtoUniverseCutCulator.cxx#L24
Do not include iostream. Use O2 logging instead.
|
|
O2 linter
To tolerate certain issues in a directory, add a line with the test name in "o2linter_config".
|
|
O2 linter
Exceptionally, you can disable a test for a line by adding a comment with "o2-linter: disable=" followed by the name of the test and parentheses with a reason for the exception.
|