14 lines · plain
1.. title:: clang-tidy - bugprone-float-loop-counter2 3bugprone-float-loop-counter4===========================5 6Flags ``for`` loops where the induction expression has a floating-point type.7 8References9----------10 11This check corresponds to the CERT C Coding Standard rule12`FLP30-C. Do not use floating-point variables as loop counters13<https://www.securecoding.cert.org/confluence/display/c/FLP30-C.+Do+not+use+floating-point+variables+as+loop+counters>`_.14