Cleanup: Versioning: silence Clang-Tidy readability-function-size
This adds `NOLINT` markers to explicitly silence warnings from Clang-Tidy's `readability-function-size` rule for versioning functions. Technically these could be refactored and split up into smaller bits, but generally they are hardly ever looked at once they're a few releases old. No functional changes.
This commit is contained in:
parent
3090b52f8c
commit
b27a953798
|
@ -635,6 +635,7 @@ static void do_versions_socket_default_value_259(bNodeSocket *sock)
|
|||
}
|
||||
}
|
||||
|
||||
/* NOLINTNEXTLINE: readability-function-size */
|
||||
void blo_do_versions_250(FileData *fd, Library *lib, Main *bmain)
|
||||
{
|
||||
/* WATCH IT!!!: pointers from libdata have not been converted */
|
||||
|
|
|
@ -658,6 +658,7 @@ static void do_versions_nodetree_customnodes(bNodeTree *ntree, int UNUSED(is_gro
|
|||
}
|
||||
}
|
||||
|
||||
/* NOLINTNEXTLINE: readability-function-size */
|
||||
void blo_do_versions_260(FileData *fd, Library *UNUSED(lib), Main *bmain)
|
||||
{
|
||||
if (bmain->versionfile < 260) {
|
||||
|
|
|
@ -420,6 +420,7 @@ static void do_version_bbone_easing_fcurve_fix(ID *UNUSED(id),
|
|||
}
|
||||
}
|
||||
|
||||
/* NOLINTNEXTLINE: readability-function-size */
|
||||
void blo_do_versions_270(FileData *fd, Library *UNUSED(lib), Main *bmain)
|
||||
{
|
||||
if (!MAIN_VERSION_ATLEAST(bmain, 270, 0)) {
|
||||
|
|
|
@ -1792,6 +1792,7 @@ static void do_versions_seq_set_cache_defaults(Editing *ed)
|
|||
ed->recycle_max_cost = 10.0f;
|
||||
}
|
||||
|
||||
/* NOLINTNEXTLINE: readability-function-size */
|
||||
void blo_do_versions_280(FileData *fd, Library *UNUSED(lib), Main *bmain)
|
||||
{
|
||||
bool use_collection_compat_28 = true;
|
||||
|
|
|
@ -493,6 +493,7 @@ void blo_do_version_old_trackto_to_constraints(Object *ob)
|
|||
ob->track = NULL;
|
||||
}
|
||||
|
||||
/* NOLINTNEXTLINE: readability-function-size */
|
||||
void blo_do_versions_pre250(FileData *fd, Library *lib, Main *bmain)
|
||||
{
|
||||
/* WATCH IT!!!: pointers from libdata have not been converted */
|
||||
|
|
Loading…
Reference in New Issue