- Cambiar todos los literales float de minúscula a mayúscula (1.0f → 1.0F)
- 657 correcciones aplicadas automáticamente con clang-tidy
- Check 1/N completado
🤖 Generated with Claude Code
87 lines
6.6 KiB
Plaintext
87 lines
6.6 KiB
Plaintext
21 warnings generated.
|
|
/Users/sergio/orni/source/core/math/easing.hpp:11:14: error: invalid case style for function 'ease_out_quad' [readability-identifier-naming,-warnings-as-errors]
|
|
11 | inline float ease_out_quad(float t) {
|
|
| ^~~~~~~~~~~~~
|
|
| easeOutQuad
|
|
/Users/sergio/orni/source/core/math/easing.hpp:12:12: error: floating point literal has suffix 'f', which is not uppercase [readability-uppercase-literal-suffix,-warnings-as-errors]
|
|
12 | return 1.0f - (1.0f - t) * (1.0f - t);
|
|
| ^ ~
|
|
| F
|
|
/Users/sergio/orni/source/core/math/easing.hpp:12:19: error: '*' has higher precedence than '-'; add parentheses to explicitly specify the order of operations [readability-math-missing-parentheses,-warnings-as-errors]
|
|
12 | return 1.0f - (1.0f - t) * (1.0f - t);
|
|
| ^~~~~~~~~~~~~~~~~~~~~~~~
|
|
| ( )
|
|
/Users/sergio/orni/source/core/math/easing.hpp:12:20: error: floating point literal has suffix 'f', which is not uppercase [readability-uppercase-literal-suffix,-warnings-as-errors]
|
|
12 | return 1.0f - (1.0f - t) * (1.0f - t);
|
|
| ^ ~
|
|
| F
|
|
/Users/sergio/orni/source/core/math/easing.hpp:12:33: error: floating point literal has suffix 'f', which is not uppercase [readability-uppercase-literal-suffix,-warnings-as-errors]
|
|
12 | return 1.0f - (1.0f - t) * (1.0f - t);
|
|
| ^ ~
|
|
| F
|
|
/Users/sergio/orni/source/core/math/easing.hpp:18:14: error: invalid case style for function 'ease_in_quad' [readability-identifier-naming,-warnings-as-errors]
|
|
18 | inline float ease_in_quad(float t) {
|
|
| ^~~~~~~~~~~~
|
|
| easeInQuad
|
|
/Users/sergio/orni/source/core/math/easing.hpp:25:14: error: invalid case style for function 'ease_in_out_quad' [readability-identifier-naming,-warnings-as-errors]
|
|
25 | inline float ease_in_out_quad(float t) {
|
|
| ^~~~~~~~~~~~~~~~
|
|
| easeInOutQuad
|
|
/Users/sergio/orni/source/core/math/easing.hpp:26:17: error: floating point literal has suffix 'f', which is not uppercase [readability-uppercase-literal-suffix,-warnings-as-errors]
|
|
26 | return (t < 0.5f)
|
|
| ^ ~
|
|
| F
|
|
/Users/sergio/orni/source/core/math/easing.hpp:27:11: error: floating point literal has suffix 'f', which is not uppercase [readability-uppercase-literal-suffix,-warnings-as-errors]
|
|
27 | ? 2.0f * t * t
|
|
| ^ ~
|
|
| F
|
|
/Users/sergio/orni/source/core/math/easing.hpp:28:11: error: floating point literal has suffix 'f', which is not uppercase [readability-uppercase-literal-suffix,-warnings-as-errors]
|
|
28 | : 1.0f - (-2.0f * t + 2.0f) * (-2.0f * t + 2.0f) / 2.0f;
|
|
| ^ ~
|
|
| F
|
|
/Users/sergio/orni/source/core/math/easing.hpp:28:18: error: '/' has higher precedence than '-'; add parentheses to explicitly specify the order of operations [readability-math-missing-parentheses,-warnings-as-errors]
|
|
28 | : 1.0f - (-2.0f * t + 2.0f) * (-2.0f * t + 2.0f) / 2.0f;
|
|
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
| ( )
|
|
/Users/sergio/orni/source/core/math/easing.hpp:28:20: error: floating point literal has suffix 'f', which is not uppercase [readability-uppercase-literal-suffix,-warnings-as-errors]
|
|
28 | : 1.0f - (-2.0f * t + 2.0f) * (-2.0f * t + 2.0f) / 2.0f;
|
|
| ^ ~
|
|
| F
|
|
/Users/sergio/orni/source/core/math/easing.hpp:28:31: error: floating point literal has suffix 'f', which is not uppercase [readability-uppercase-literal-suffix,-warnings-as-errors]
|
|
28 | : 1.0f - (-2.0f * t + 2.0f) * (-2.0f * t + 2.0f) / 2.0f;
|
|
| ^ ~
|
|
| F
|
|
/Users/sergio/orni/source/core/math/easing.hpp:28:41: error: floating point literal has suffix 'f', which is not uppercase [readability-uppercase-literal-suffix,-warnings-as-errors]
|
|
28 | : 1.0f - (-2.0f * t + 2.0f) * (-2.0f * t + 2.0f) / 2.0f;
|
|
| ^ ~
|
|
| F
|
|
/Users/sergio/orni/source/core/math/easing.hpp:28:52: error: floating point literal has suffix 'f', which is not uppercase [readability-uppercase-literal-suffix,-warnings-as-errors]
|
|
28 | : 1.0f - (-2.0f * t + 2.0f) * (-2.0f * t + 2.0f) / 2.0f;
|
|
| ^ ~
|
|
| F
|
|
/Users/sergio/orni/source/core/math/easing.hpp:28:60: error: floating point literal has suffix 'f', which is not uppercase [readability-uppercase-literal-suffix,-warnings-as-errors]
|
|
28 | : 1.0f - (-2.0f * t + 2.0f) * (-2.0f * t + 2.0f) / 2.0f;
|
|
| ^ ~
|
|
| F
|
|
/Users/sergio/orni/source/core/math/easing.hpp:34:14: error: invalid case style for function 'ease_out_cubic' [readability-identifier-naming,-warnings-as-errors]
|
|
34 | inline float ease_out_cubic(float t) {
|
|
| ^~~~~~~~~~~~~~
|
|
| easeOutCubic
|
|
/Users/sergio/orni/source/core/math/easing.hpp:35:16: error: floating point literal has suffix 'f', which is not uppercase [readability-uppercase-literal-suffix,-warnings-as-errors]
|
|
35 | float t1 = 1.0f - t;
|
|
| ^ ~
|
|
| F
|
|
/Users/sergio/orni/source/core/math/easing.hpp:36:12: error: floating point literal has suffix 'f', which is not uppercase [readability-uppercase-literal-suffix,-warnings-as-errors]
|
|
36 | return 1.0f - t1 * t1 * t1;
|
|
| ^ ~
|
|
| F
|
|
/Users/sergio/orni/source/core/math/easing.hpp:36:19: error: '*' has higher precedence than '-'; add parentheses to explicitly specify the order of operations [readability-math-missing-parentheses,-warnings-as-errors]
|
|
36 | return 1.0f - t1 * t1 * t1;
|
|
| ^~~~~~~~~~~~~
|
|
| ( )
|
|
/Users/sergio/orni/source/core/math/easing.hpp:41:20: error: '*' has higher precedence than '+'; add parentheses to explicitly specify the order of operations [readability-math-missing-parentheses,-warnings-as-errors]
|
|
41 | return start + (end - start) * t;
|
|
| ^~~~~~~~~~~~~~~~~~
|
|
| ( )
|
|
21 warnings treated as errors
|