Campbell Barton
0af370a62d
Cleanup: use C++ style sizeof(struct::member) instead of casting nullptr
2023-08-03 20:23:01 +10:00
Campbell Barton
de391cf811
Cleanup: use nullptr instead of zero
2023-08-03 19:17:43 +10:00
Campbell Barton
c6f3f19648
Cleanup: reduce variable scope when removing in a while loop
2023-08-03 19:17:43 +10:00
Campbell Barton
a82836b6c2
Cleanup: replace typdef with 'using'
...
Apply modernize-use-using with edits (as it strips out useful info).
2023-07-24 11:04:19 +10:00
Campbell Barton
302887c619
Cleanup: use boolean literals in source/
...
Apply clang-tidy modernize-use-bool-literals to source/.
2023-07-22 11:43:01 +10:00
Campbell Barton
81ee130063
Cleanup: use C++ system headers
...
Apply clang-tidy modernize-deprecated-headers to source/
2023-07-22 11:27:25 +10:00
Campbell Barton
246292f486
Cleanup: various non-functional changes (mainly for C++)
...
- Remove redundant void, struct.
- Remove redundant parenthesis.
- Use STR_ELEM(..)
- Use function style casts.
2023-07-20 11:55:34 +10:00
Campbell Barton
17563e9a91
Cleanup: use C++ function style casts, NULL -> nullptr
2023-07-18 14:18:07 +10:00
Jacques Lucke
129f78eee7
Blenkernel: move to C++
...
Also see #103343 .
Couldn't move two files yet:
* `softbody.c`: The corresponding regression test fails. It seems like the
conversion to C++ changes floating point accuracy, but it's not clear where that happens exactly.
* `writeffmpeg.c`: Is a bit more complex to convert because of the static array in `av_err2str`.
Pull Request: https://projects.blender.org/blender/blender/pulls/110182
2023-07-17 10:46:26 +02:00