@@ -78,7 +78,7 @@ class Cassie : public benchmark::Fixture {
78
78
// For T=double, any request for gradients is an error.
79
79
// For T=AutoDiffXd, sets the specified gradients to the identity matrix.
80
80
// For T=Expression, sets the specified quantities to symbolic variables.
81
- // NOLINTNEXTLINE(runtime/references)
81
+ // NOLINTNEXTLINE(runtime/references) Per hash_append convention.
82
82
void SetUpGradientsOrVariables (benchmark::State& state);
83
83
84
84
// Use these functions to invalidate input- or state-dependent computations
@@ -97,7 +97,7 @@ class Cassie : public benchmark::Fixture {
97
97
}
98
98
99
99
// Runs the PositionKinematics benchmark.
100
- // NOLINTNEXTLINE(runtime/references)
100
+ // NOLINTNEXTLINE(runtime/references) Per hash_append convention.
101
101
void DoPositionKinematics (benchmark::State& state) {
102
102
DRAKE_DEMAND (want_grad_vdot (state) == false );
103
103
DRAKE_DEMAND (want_grad_u (state) == false );
@@ -111,7 +111,7 @@ class Cassie : public benchmark::Fixture {
111
111
}
112
112
113
113
// Runs the PosAndVelKinematics benchmark.
114
- // NOLINTNEXTLINE(runtime/references)
114
+ // NOLINTNEXTLINE(runtime/references) Per hash_append convention.
115
115
void DoPosAndVelKinematics (benchmark::State& state) {
116
116
DRAKE_DEMAND (want_grad_vdot (state) == false );
117
117
DRAKE_DEMAND (want_grad_u (state) == false );
@@ -126,7 +126,7 @@ class Cassie : public benchmark::Fixture {
126
126
}
127
127
128
128
// Runs the MassMatrix benchmark.
129
- // NOLINTNEXTLINE(runtime/references)
129
+ // NOLINTNEXTLINE(runtime/references) Per hash_append convention.
130
130
void DoMassMatrix (benchmark::State& state) {
131
131
DRAKE_DEMAND (want_grad_vdot (state) == false );
132
132
DRAKE_DEMAND (want_grad_u (state) == false );
@@ -137,7 +137,7 @@ class Cassie : public benchmark::Fixture {
137
137
}
138
138
139
139
// Runs the InverseDynamics benchmark.
140
- // NOLINTNEXTLINE(runtime/references)
140
+ // NOLINTNEXTLINE(runtime/references) Per hash_append convention.
141
141
void DoInverseDynamics (benchmark::State& state) {
142
142
DRAKE_DEMAND (want_grad_u (state) == false );
143
143
for (auto _ : state) {
@@ -147,7 +147,7 @@ class Cassie : public benchmark::Fixture {
147
147
}
148
148
149
149
// Runs the ForwardDynamics benchmark.
150
- // NOLINTNEXTLINE(runtime/references)
150
+ // NOLINTNEXTLINE(runtime/references) Per hash_append convention.
151
151
void DoForwardDynamics (benchmark::State& state) {
152
152
DRAKE_DEMAND (want_grad_vdot (state) == false );
153
153
for (auto _ : state) {
0 commit comments