Cleanup: Nodes, silence Clang-Tidy readability-function-size
Add a `NOLINT` marker to explicitly silence a warning from Clang-Tidy's `readability-function-size` rule for the `node_type_base()` function. This function is indeed huge, but that is because a lot of macros are expanded. Before expansion things are still not small, but still understandable & expandable. No functional changes.
This commit is contained in:
parent
4ce298b3c0
commit
2a0bc4d23e
|
@ -3829,6 +3829,7 @@ static bool node_poll_instance_default(bNode *node, bNodeTree *ntree)
|
|||
return node->typeinfo->poll(node->typeinfo, ntree);
|
||||
}
|
||||
|
||||
/* NOLINTNEXTLINE: readability-function-size */
|
||||
void node_type_base(bNodeType *ntype, int type, const char *name, short nclass, short flag)
|
||||
{
|
||||
/* Use static type info header to map static int type to identifier string and RNA struct type.
|
||||
|
|
Loading…
Reference in New Issue