Skip to content

Commit 1163fd6

Browse files
authored
[Common] Fix cpplint errors (#18095)
1 parent a54a5fd commit 1163fd6

7 files changed

Lines changed: 13 additions & 12 deletions

File tree

‎Common/CCDB/AnalysisCCDBLinkDef.h‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@
1414
///
1515
/// \author Evgeny Kryshen <evgeny.kryshen@cern.ch>
1616

17-
#ifndef COMMON_CCDB_ANALYSISCCDBLINKDEF_H_
18-
#define COMMON_CCDB_ANALYSISCCDBLINKDEF_H_
17+
// NOLINT(build/header_guard)
1918

2019
#pragma link off all globals;
2120
#pragma link off all classes;
@@ -24,5 +23,3 @@
2423
#pragma link C++ class EventSelectionParams + ;
2524
#pragma link C++ class TriggerAliases + ;
2625
#pragma link C++ class std::map < uint64_t, uint32_t> + ;
27-
28-
#endif // COMMON_CCDB_ANALYSISCCDBLINKDEF_H_

‎Common/Core/AnalysisCoreLinkDef.h‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
// granted to it by virtue of its status as an Intergovernmental Organization
1010
// or submit itself to any jurisdiction.
1111

12-
#ifndef COMMON_CORE_ANALYSISCORELINKDEF_H_
13-
#define COMMON_CORE_ANALYSISCORELINKDEF_H_
12+
// NOLINT(build/header_guard)
1413

1514
#pragma link off all globals;
1615
#pragma link off all classes;
@@ -25,5 +24,3 @@
2524
#pragma link C++ class o2::pid::tpc::Response + ;
2625

2726
#pragma link C++ class OrbitRange + ;
28-
29-
#endif // COMMON_CORE_ANALYSISCORELINKDEF_H_

‎Common/Core/EventFilteringUtilsLinkDef.h‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
// granted to it by virtue of its status as an Intergovernmental Organization
1010
// or submit itself to any jurisdiction.
1111

12+
// NOLINT(build/header_guard)
13+
1214
#pragma link off all globals;
1315
#pragma link off all classes;
1416
#pragma link off all functions;

‎Common/Core/FFitWeightsLinkDef.h‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@
1414
///
1515
/// \author Joachim C. K. B. Hansen
1616

17-
#ifndef COMMON_CORE_FFITWEIGHTSLINKDEF_H_
18-
#define COMMON_CORE_FFITWEIGHTSLINKDEF_H_
17+
// NOLINT(build/header_guard)
1918

2019
#pragma link C++ class FFitWeights + ;
21-
22-
#endif // COMMON_CORE_FFITWEIGHTSLINKDEF_H_

‎Common/DataModel/Centrality.h‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,18 +100,22 @@ using BCCentFT0C = BCCentFT0Cs::iterator;
100100

101101
template <typename T>
102102
concept HasRun2Centrality = requires(T&& t) {
103+
// NOLINTBEGIN(readability/braces)
103104
{ t.centRun2V0M() };
104105
{ t.centRun2CL0() };
105106
{ t.centRun2CL1() };
107+
// NOLINTEND(readability/braces)
106108
};
107109

108110
template <typename T>
109111
concept HasCentrality = requires(T&& t) {
112+
// NOLINTBEGIN(readability/braces)
110113
{ t.centFV0A() };
111114
{ t.centFT0M() };
112115
{ t.centFT0A() };
113116
{ t.centFT0C() };
114117
{ t.centNTPV() };
118+
// NOLINTEND(readability/braces)
115119
};
116120

117121
} // namespace o2::aod

‎Common/Tools/Multiplicity/multToolsLinkDef.h‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
// granted to it by virtue of its status as an Intergovernmental Organization
1010
// or submit itself to any jurisdiction.
1111

12+
// NOLINT(build/header_guard)
13+
1214
#pragma link off all globals;
1315
#pragma link off all classes;
1416
#pragma link off all functions;

‎Common/Tools/trackSelectionRequestLinkDef.h‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
// granted to it by virtue of its status as an Intergovernmental Organization
1010
// or submit itself to any jurisdiction.
1111

12+
// NOLINT(build/header_guard)
13+
1214
#pragma link off all globals;
1315
#pragma link off all classes;
1416
#pragma link off all functions;

0 commit comments

Comments
 (0)