Clang Format: bump to version 17

Along with the 4.1 libraries upgrade, we are bumping the clang-format
version from 8-12 to 17. This affects quite a few files.

If not already the case, you may consider pointing your IDE to the
clang-format binary bundled with the Blender precompiled libraries.
This commit is contained in:
Brecht Van Lommel
2024-01-02 18:12:54 +01:00
parent 40953b0e39
commit d377ef2543
619 changed files with 2440 additions and 1596 deletions

View File

@@ -303,8 +303,8 @@ void libmv_cameraIntrinsicsInvert(
*y1 = 0.0;
}
void libmv_homography2DFromCorrespondencesEuc(/* const */ double (*/*x1*/)[2],
/* const */ double (*/*x2*/)[2],
void libmv_homography2DFromCorrespondencesEuc(/* const */ double (* /*x1*/)[2],
/* const */ double (* /*x2*/)[2],
int /*num_points*/,
double H[3][3]) {
memset(H, 0, sizeof(double[3][3]));

View File

@@ -257,7 +257,7 @@ void DetectMORAVEC(const FloatImage& grayscale_image,
histogram[s]--;
}
c[0] = score, histogram[score]++;
nonmax : {} // Do nothing.
nonmax: {} // Do nothing.
}
}
int min = 255, total = 0;