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

@@ -74,7 +74,8 @@ static PyObject *Operators_select(BPy_Operators * /*self*/, PyObject *args, PyOb
PyObject *obj = nullptr;
if (!PyArg_ParseTupleAndKeywords(
args, kwds, "O!", (char **)kwlist, &UnaryPredicate1D_Type, &obj)) {
args, kwds, "O!", (char **)kwlist, &UnaryPredicate1D_Type, &obj))
{
return nullptr;
}
if (!((BPy_UnaryPredicate1D *)obj)->up1D) {
@@ -484,7 +485,8 @@ static PyObject *Operators_sort(BPy_Operators * /*self*/, PyObject *args, PyObje
PyObject *obj = nullptr;
if (!PyArg_ParseTupleAndKeywords(
args, kwds, "O!", (char **)kwlist, &BinaryPredicate1D_Type, &obj)) {
args, kwds, "O!", (char **)kwlist, &BinaryPredicate1D_Type, &obj))
{
return nullptr;
}
if (!((BPy_BinaryPredicate1D *)obj)->bp1D) {