diff options
Diffstat (limited to 'source/blender/functions')
-rw-r--r-- | source/blender/functions/FN_generic_virtual_array.hh | 2 | ||||
-rw-r--r-- | source/blender/functions/FN_multi_function_procedure_optimization.hh | 6 | ||||
-rw-r--r-- | source/blender/functions/intern/field.cc | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/functions/FN_generic_virtual_array.hh b/source/blender/functions/FN_generic_virtual_array.hh index 2655cd26bfe..ced0c2b9546 100644 --- a/source/blender/functions/FN_generic_virtual_array.hh +++ b/source/blender/functions/FN_generic_virtual_array.hh @@ -139,7 +139,7 @@ class GVArrayCommon { */ bool is_span() const; /** - * Returns the internally used span of the virtual array. This invokes undefined behavior is the + * Returns the internally used span of the virtual array. This invokes undefined behavior if the * virtual array is not stored as a span internally. */ GSpan get_internal_span() const; diff --git a/source/blender/functions/FN_multi_function_procedure_optimization.hh b/source/blender/functions/FN_multi_function_procedure_optimization.hh index 6e1e804c804..f5a02d84d42 100644 --- a/source/blender/functions/FN_multi_function_procedure_optimization.hh +++ b/source/blender/functions/FN_multi_function_procedure_optimization.hh @@ -38,9 +38,9 @@ namespace blender::fn::procedure_optimization { * For simplicity, and because this is the most common use case, this optimization currently only * works on a single chain of instructions. Destruct instructions are not moved across branches. * - * \param procedure The procedure that should be optimized. - * \param block_end_instr The instruction that points to the last instruction within a linear chain - * of instructions. The algorithm moves instructions backward starting at this instruction. + * \param procedure: The procedure that should be optimized. + * \param block_end_instr: The instruction that points to the last instruction within a linear + * chain of instructions. The algorithm moves instructions backward starting at this instruction. */ void move_destructs_up(MFProcedure &procedure, MFInstruction &block_end_instr); diff --git a/source/blender/functions/intern/field.cc b/source/blender/functions/intern/field.cc index 054a6b51adf..7b514b6a49b 100644 --- a/source/blender/functions/intern/field.cc +++ b/source/blender/functions/intern/field.cc @@ -26,7 +26,7 @@ struct FieldTreeInfo { */ MultiValueMap<GFieldRef, GFieldRef> field_users; /** - * The same field input may exist in the field tree as as separate nodes due to the way + * The same field input may exist in the field tree as separate nodes due to the way * the tree is constructed. This set contains every different input only once. */ VectorSet<std::reference_wrapper<const FieldInput>> deduplicated_field_inputs; @@ -137,7 +137,7 @@ static Set<GFieldRef> find_varying_fields(const FieldTreeInfo &field_tree_info, } /** - * Builds the #procedure so that it computes the the fields. + * Builds the #procedure so that it computes the fields. */ static void build_multi_function_procedure_for_fields(MFProcedure &procedure, ResourceScope &scope, |