Blender Git Loki
Git Commits -> Revision 19dfb6e
Revision 19dfb6e by Jacques Lucke (master) April 8, 2021, 09:07 (GMT) |
Cleanup: enable modernize-use-equals-default check This removes a lot of unnecessary code that is generated by the compiler automatically. In very few cases, a defaulted destructor in a .cc file is still necessary, because of forward declarations in the header. I removed some defaulted virtual destructors, because they are not necessary, when the parent class has a virtual destructor already. Defaulted constructors are only necessary when there is another constructor, but the class should still be default constructible. Differential Revision: https://developer.blender.org/D10911 |
Commit Details:
Full Hash: 19dfb6ea1f6745c0dbc2ce21839c30184b553878
Parent Commit: 0ea6603
Lines Changed: +14, -419
64 Modified Paths:
/.clang-tidy (+0, -1) (Diff)
/source/blender/blenkernel/BKE_geometry_set.hh (+1, -1) (Diff)
/source/blender/blenkernel/intern/cryptomatte.cc (+1, -5) (Diff)
/source/blender/blenkernel/intern/geometry_set.cc (+0, -4) (Diff)
/source/blender/blenkernel/intern/volume.cc (+0, -4) (Diff)
/source/blender/blenlib/intern/delaunay_2d.cc (+0, -3) (Diff)
/source/blender/blenlib/intern/mesh_intersect.cc (+1, -78) (Diff)
/source/blender/blenlib/intern/task_pool.cc (+0, -4) (Diff)
/source/blender/blenloader/tests/blendfile_loading_base_test.cc (+0, -4) (Diff)
/source/blender/blenloader/tests/blendfile_loading_base_test.h (+0, -2) (Diff)
/source/blender/compositor/intern/COM_NodeGraph.cc (+0, -4) (Diff)
/source/blender/compositor/intern/COM_NodeGraph.h (+0, -1) (Diff)
/source/blender/compositor/intern/COM_NodeOperationBuilder.cc (+0, -4) (Diff)
/source/blender/compositor/intern/COM_NodeOperationBuilder.h (+0, -1) (Diff)
/source/blender/compositor/operations/COM_AlphaOverKeyOperation.cc (+0, -5) (Diff)
/source/blender/compositor/operations/COM_AlphaOverKeyOperation.h (+0, -5) (Diff)
/source/blender/compositor/operations/COM_AlphaOverPremultiplyOperation.cc (+0, -5) (Diff)
/source/blender/compositor/operations/COM_AlphaOverPremultiplyOperation.h (+0, -5) (Diff)
/source/blender/compositor/operations/COM_CalculateStandardDeviationOperation.cc (+0, -5) (Diff)
/source/blender/compositor/operations/COM_CalculateStandardDeviationOperation.h (+0, -2) (Diff)
/source/blender/compositor/operations/COM_ConvolutionEdgeFilterOperation.cc (+0, -5) (Diff)
/source/blender/compositor/operations/COM_ConvolutionEdgeFilterOperation.h (+0, -1) (Diff)
/source/blender/compositor/operations/COM_DistanceYCCMatteOperation.cc (+0, -5) (Diff)
/source/blender/compositor/operations/COM_DistanceYCCMatteOperation.h (+0, -6) (Diff)
/source/blender/compositor/operations/COM_MixOperation.cc (+0, -95) (Diff)
/source/blender/compositor/operations/COM_MixOperation.h (+0, -19) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder.cc (+0, -4) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder.h (+1, -1) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_cache.cc (+0, -4) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_cache.h (+0, -1) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_map.cc (+0, -8) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_map.h (+0, -3) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_pchanmap.cc (+0, -8) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_pchanmap.h (+0, -4) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_rna.cc (+1, -3) (Diff)
/source/blender/depsgraph/intern/builder/pipeline.cc (+0, -4) (Diff)
/source/blender/depsgraph/intern/builder/pipeline.h (+1, -1) (Diff)
/source/blender/depsgraph/intern/eval/deg_eval_runtime_backup_animation.cc (+0, -8) (Diff)
/source/blender/depsgraph/intern/eval/deg_eval_runtime_backup_animation.h (+1, -2) (Diff)
/source/blender/depsgraph/intern/node/deg_node_operation.cc (+0, -4) (Diff)
/source/blender/depsgraph/intern/node/deg_node_operation.h (+0, -1) (Diff)
/source/blender/gpu/intern/gpu_batch_private.hh (+1, -2) (Diff)
/source/blender/gpu/intern/gpu_shader_interface.cc (+2, -4) (Diff)
/source/blender/gpu/opengl/gl_batch.cc (+0, -14) (Diff)
/source/blender/gpu/opengl/gl_batch.hh (+0, -3) (Diff)
/source/blender/imbuf/intern/openexr/openexr_api.cpp (+0, -4) (Diff)
/source/blender/io/alembic/exporter/abc_custom_props.cc (+0, -4) (Diff)
/source/blender/io/alembic/exporter/abc_custom_props.h (+1, -1) (Diff)
/source/blender/io/alembic/exporter/abc_writer_abstract.cc (+0, -4) (Diff)
/source/blender/io/alembic/exporter/abc_writer_abstract.h (+0, -1) (Diff)
/source/blender/io/alembic/exporter/abc_writer_instance.cc (+0, -4) (Diff)
/source/blender/io/alembic/exporter/abc_writer_instance.h (+0, -1) (Diff)
/source/blender/io/alembic/exporter/abc_writer_mesh.cc (+0, -4) (Diff)
/source/blender/io/alembic/exporter/abc_writer_mesh.h (+0, -1) (Diff)
/source/blender/io/alembic/intern/abc_reader_object.cc (+0, -4) (Diff)
/source/blender/io/alembic/intern/abc_reader_object.h (+1, -1) (Diff)
/source/blender/io/collada/SkinInfo.cpp (+1, -4) (Diff)
/source/blender/io/common/intern/abstract_hierarchy_iterator.cc (+0, -4) (Diff)
/source/blender/io/common/intern/dupli_parent_finder.cc (+0, -8) (Diff)
/source/blender/io/common/intern/dupli_parent_finder.hh (+0, -3) (Diff)
/source/blender/io/common/intern/object_identifier.cc (+0, -9) (Diff)
/source/blender/io/common/IO_abstract_hierarchy_iterator.h (+1, -4) (Diff)
/source/blender/io/usd/intern/usd_writer_abstract.cc (+0, -4) (Diff)
/source/blender/io/usd/intern/usd_writer_abstract.h (+0, -1) (Diff)
/source/blender/blenkernel/BKE_geometry_set.hh (+1, -1) (Diff)
/source/blender/blenkernel/intern/cryptomatte.cc (+1, -5) (Diff)
/source/blender/blenkernel/intern/geometry_set.cc (+0, -4) (Diff)
/source/blender/blenkernel/intern/volume.cc (+0, -4) (Diff)
/source/blender/blenlib/intern/delaunay_2d.cc (+0, -3) (Diff)
/source/blender/blenlib/intern/mesh_intersect.cc (+1, -78) (Diff)
/source/blender/blenlib/intern/task_pool.cc (+0, -4) (Diff)
/source/blender/blenloader/tests/blendfile_loading_base_test.cc (+0, -4) (Diff)
/source/blender/blenloader/tests/blendfile_loading_base_test.h (+0, -2) (Diff)
/source/blender/compositor/intern/COM_NodeGraph.cc (+0, -4) (Diff)
/source/blender/compositor/intern/COM_NodeGraph.h (+0, -1) (Diff)
/source/blender/compositor/intern/COM_NodeOperationBuilder.cc (+0, -4) (Diff)
/source/blender/compositor/intern/COM_NodeOperationBuilder.h (+0, -1) (Diff)
/source/blender/compositor/operations/COM_AlphaOverKeyOperation.cc (+0, -5) (Diff)
/source/blender/compositor/operations/COM_AlphaOverKeyOperation.h (+0, -5) (Diff)
/source/blender/compositor/operations/COM_AlphaOverPremultiplyOperation.cc (+0, -5) (Diff)
/source/blender/compositor/operations/COM_AlphaOverPremultiplyOperation.h (+0, -5) (Diff)
/source/blender/compositor/operations/COM_CalculateStandardDeviationOperation.cc (+0, -5) (Diff)
/source/blender/compositor/operations/COM_CalculateStandardDeviationOperation.h (+0, -2) (Diff)
/source/blender/compositor/operations/COM_ConvolutionEdgeFilterOperation.cc (+0, -5) (Diff)
/source/blender/compositor/operations/COM_ConvolutionEdgeFilterOperation.h (+0, -1) (Diff)
/source/blender/compositor/operations/COM_DistanceYCCMatteOperation.cc (+0, -5) (Diff)
/source/blender/compositor/operations/COM_DistanceYCCMatteOperation.h (+0, -6) (Diff)
/source/blender/compositor/operations/COM_MixOperation.cc (+0, -95) (Diff)
/source/blender/compositor/operations/COM_MixOperation.h (+0, -19) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder.cc (+0, -4) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder.h (+1, -1) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_cache.cc (+0, -4) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_cache.h (+0, -1) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_map.cc (+0, -8) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_map.h (+0, -3) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_pchanmap.cc (+0, -8) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_pchanmap.h (+0, -4) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_rna.cc (+1, -3) (Diff)
/source/blender/depsgraph/intern/builder/pipeline.cc (+0, -4) (Diff)
/source/blender/depsgraph/intern/builder/pipeline.h (+1, -1) (Diff)
/source/blender/depsgraph/intern/eval/deg_eval_runtime_backup_animation.cc (+0, -8) (Diff)
/source/blender/depsgraph/intern/eval/deg_eval_runtime_backup_animation.h (+1, -2) (Diff)
/source/blender/depsgraph/intern/node/deg_node_operation.cc (+0, -4) (Diff)
/source/blender/depsgraph/intern/node/deg_node_operation.h (+0, -1) (Diff)
/source/blender/gpu/intern/gpu_batch_private.hh (+1, -2) (Diff)
/source/blender/gpu/intern/gpu_shader_interface.cc (+2, -4) (Diff)
/source/blender/gpu/opengl/gl_batch.cc (+0, -14) (Diff)
/source/blender/gpu/opengl/gl_batch.hh (+0, -3) (Diff)
/source/blender/imbuf/intern/openexr/openexr_api.cpp (+0, -4) (Diff)
/source/blender/io/alembic/exporter/abc_custom_props.cc (+0, -4) (Diff)
/source/blender/io/alembic/exporter/abc_custom_props.h (+1, -1) (Diff)
/source/blender/io/alembic/exporter/abc_writer_abstract.cc (+0, -4) (Diff)
/source/blender/io/alembic/exporter/abc_writer_abstract.h (+0, -1) (Diff)
/source/blender/io/alembic/exporter/abc_writer_instance.cc (+0, -4) (Diff)
/source/blender/io/alembic/exporter/abc_writer_instance.h (+0, -1) (Diff)
/source/blender/io/alembic/exporter/abc_writer_mesh.cc (+0, -4) (Diff)
/source/blender/io/alembic/exporter/abc_writer_mesh.h (+0, -1) (Diff)
/source/blender/io/alembic/intern/abc_reader_object.cc (+0, -4) (Diff)
/source/blender/io/alembic/intern/abc_reader_object.h (+1, -1) (Diff)
/source/blender/io/collada/SkinInfo.cpp (+1, -4) (Diff)
/source/blender/io/common/intern/abstract_hierarchy_iterator.cc (+0, -4) (Diff)
/source/blender/io/common/intern/dupli_parent_finder.cc (+0, -8) (Diff)
/source/blender/io/common/intern/dupli_parent_finder.hh (+0, -3) (Diff)
/source/blender/io/common/intern/object_identifier.cc (+0, -9) (Diff)
/source/blender/io/common/IO_abstract_hierarchy_iterator.h (+1, -4) (Diff)
/source/blender/io/usd/intern/usd_writer_abstract.cc (+0, -4) (Diff)
/source/blender/io/usd/intern/usd_writer_abstract.h (+0, -1) (Diff)