Campbell Barton
42032db1c2
Cleanup: remove deprecated flag use in collada
2021-08-26 12:36:58 +10:00
Campbell Barton
1ef275963d
Cleanup: use C++ style comments for disabled code
2021-08-12 14:34:41 +10:00
Campbell Barton
bbcc8330f7
Cleanup: spelling
2021-07-21 20:42:11 +10:00
Campbell Barton
9b89de2571
Cleanup: consistent use of tags: NOTE/TODO/FIXME/XXX
...
Also use doxy style function reference `#` prefix chars when
referencing identifiers.
2021-07-04 00:43:40 +10:00
Campbell Barton
17e1e2bfd8
Cleanup: correct spelling in comments
2021-02-05 16:23:34 +11:00
Campbell Barton
088df2bb03
Fix missing string escape for RNA path creation
2020-12-14 20:44:26 +11:00
Sybren A. Stüvel
11c4066159
Cleanup: partial Clang-Tidy modernize-loop-convert
...
Modernize loops by using the `for(type variable : container)` syntax.
Some loops were trivial to fix, whereas others required more attention
to avoid semantic changes. I couldn't address all old-style loops, so
this commit doesn't enable the `modernize-loop-convert` rule.
Although Clang-Tidy's auto-fixer prefers to use `auto` for the loop
variable declaration, I made as many declarations as possible explicit.
To me this increases local readability, as you don't need to fully
understand the container in order to understand the loop variable type.
No functional changes.
2020-12-07 12:41:17 +01:00
Sybren A. Stüvel
958df2ed1b
Cleanup: Clang-Tidy, modernize-deprecated-headers
...
No functional changes.
2020-12-04 11:28:09 +01:00
Sybren A. Stüvel
16732def37
Cleanup: Clang-Tidy modernize-use-nullptr
...
Replace `NULL` with `nullptr` in C++ code.
No functional changes.
2020-11-06 18:08:25 +01:00
Sergey Sharybin
af35ada2f3
Cleanup: Clang-Tidy, modernize-use-bool-literals
2020-11-06 14:32:51 +01:00
Valentin
5ac4778056
Cleanup: convert gforge task ID's to phabricator format
...
Cleanup old tracker task format to the new. e.g: [#34039 ] to T34039
Ref D8718
2020-09-30 20:11:06 +10:00
Sybren A. Stüvel
cc2b114a21
Cleanup: Clang-Tidy readability-static-accessed-through-instance fixes
...
No functional changes.
2020-09-04 12:37:56 +02:00
Sybren A. Stüvel
8057ab10db
Cleanup: Clang-Tidy readability-const-return-type fixes
...
No functional changes.
2020-09-04 12:04:47 +02:00
Sybren A. Stüvel
dee359e26e
Cleanup: IO, Clang-Tidy else-after-return fixes
...
This addresses warnings from Clang-Tidy's `readability-else-after-return`
rule in the `source/blender/io` module.
No functional changes.
2020-08-07 13:38:06 +02:00
Campbell Barton
c46663ad66
Cleanup: spelling
2020-07-21 16:02:58 +10:00
Hans Goudey
19ff145e66
Clang-Tidy: Enable readability-redundant-control-flow
2020-07-03 09:41:55 -04:00
Jacques Lucke
2633683b52
Clang-tidy: enable readability-container-size-empty warning
...
Reviewers: sergey
Differential Revision: https://developer.blender.org/D8197
2020-07-03 14:59:27 +02:00
Campbell Barton
ba312bc8a7
Cleanup: doxy comments
2020-06-17 14:00:09 +10:00
Jeroen Bakker
e8b8e16b24
Code Cleanup: fcurve function naming
2020-06-05 09:30:15 +02:00
Jeroen Bakker
fe6be70875
CleanUp: Introduce BKE_fcurve_create
2020-06-05 08:41:35 +02:00
Campbell Barton
d0d251b53b
Cleanup: spelling
2020-03-24 10:36:42 +11:00
Dalai Felinto
2d1cce8331
Cleanup: make format after SortedIncludes change
2020-03-19 09:33:58 +01:00
Sybren A. Stüvel
eb522af4fe
Cleanup: move Alembic, AVI, Collada, and USD to source/blender/io
...
This moves the `alembic`, `avi`, `collada`, and `usd` modules into a common
`io` directory.
This also cleans up some `#include "../../{somedir}/{somefile}.h"` by
adding `../../io/{somedir}` to `CMakeLists.txt` and then just using
`#include "{somefile}.h"`.
No functional changes.
2020-03-06 16:19:45 +01:00