Cleanup: avoid adjacent C-style comments
authorCampbell Barton <ideasman42@gmail.com>
Tue, 16 Apr 2019 15:48:22 +0000 (17:48 +0200)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 16 Apr 2019 15:50:17 +0000 (17:50 +0200)
Causes clang-format to give different results on a second run.

source/blender/bmesh/tools/bmesh_wireframe.c
source/blender/makesdna/DNA_particle_types.h
source/blender/python/bmesh/bmesh_py_ops.c
source/blender/python/intern/bpy_library_load.c
source/blender/python/intern/bpy_rna.c

index 10db05f..82fc4b2 100644 (file)
@@ -329,7 +329,8 @@ void BM_mesh_wireframe(
                }
 
                BM_ITER_ELEM (l, &itersub, f_src, BM_LOOPS_OF_FACE) {
-                       BM_elem_index_set(l, verts_loop_tot); /* set_dirty */  /* Because some faces might be skipped! */
+                       /* Because some faces might be skipped! */
+                       BM_elem_index_set(l, verts_loop_tot); /* set_dirty */
 
                        BM_loop_calc_face_tangent(l, tvec);
 
index ae677a9..a6ad651 100644 (file)
@@ -407,7 +407,8 @@ typedef enum eParticleDrawFlag {
        PART_DRAW_GLOBAL_OB         = (1 << 1),
        PART_DRAW_SIZE          = (1 << 2),
 #ifdef DNA_DEPRECATED
-       PART_DRAW_EMITTER       = (1 << 3),  /* render emitter also */ /* DEPRECATED */
+       /** Render emitter as well. */
+       PART_DRAW_EMITTER       = (1 << 3), /* DEPRECATED */
 #endif
        PART_DRAW_HEALTH        = (1 << 4),
        PART_ABS_PATH_TIME      = (1 << 5),
index f35bfb7..fe82f22 100644 (file)
@@ -312,8 +312,8 @@ static PyTypeObject bmesh_ops_fakemod_Type = {
        NULL,                       /* inquiry tp_clear; */
 
        /***  Assigned meaning in release 2.1 ***/
-       /*** rich comparisons ***/
-       NULL, /* subclassed */          /* richcmpfunc tp_richcompare; */
+       /*** rich comparisons (subclassed) ***/
+       NULL, /* richcmpfunc tp_richcompare; */
 
        /***  weak reference enabler ***/
        0,
index 77fb6bf..3a4c70c 100644 (file)
@@ -131,8 +131,8 @@ static PyTypeObject bpy_lib_Type = {
        NULL,                       /* inquiry tp_clear; */
 
        /***  Assigned meaning in release 2.1 ***/
-       /*** rich comparisons ***/
-       NULL, /* subclassed */          /* richcmpfunc tp_richcompare; */
+       /*** rich comparisons (subclassed) ***/
+       NULL, /* richcmpfunc tp_richcompare; */
 
        /***  weak reference enabler ***/
        0,
index d9052aa..71d46de 100644 (file)
@@ -6337,8 +6337,8 @@ PyTypeObject pyrna_prop_array_Type = {
        NULL,                       /* inquiry tp_clear; */
 
        /***  Assigned meaning in release 2.1 ***/
-       /*** rich comparisons ***/
-       NULL, /* subclassed */ /* richcmpfunc tp_richcompare; */
+       /*** rich comparisons (subclassed) ***/
+       NULL, /* richcmpfunc tp_richcompare; */
 
        /***  weak reference enabler ***/
 #ifdef USE_WEAKREFS
@@ -6420,8 +6420,8 @@ PyTypeObject pyrna_prop_collection_Type = {
        NULL,                       /* inquiry tp_clear; */
 
        /***  Assigned meaning in release 2.1 ***/
-       /*** rich comparisons ***/
-       NULL, /* subclassed */      /* richcmpfunc tp_richcompare; */
+       /*** rich comparisons (subclassed) ***/
+       NULL, /* richcmpfunc tp_richcompare; */
 
        /***  weak reference enabler ***/
 #ifdef USE_WEAKREFS
@@ -6505,8 +6505,8 @@ static PyTypeObject pyrna_prop_collection_idprop_Type = {
        NULL,                       /* inquiry tp_clear; */
 
        /***  Assigned meaning in release 2.1 ***/
-       /*** rich comparisons ***/
-       NULL, /* subclassed */      /* richcmpfunc tp_richcompare; */
+       /*** rich comparisons (subclassed) ***/
+       NULL, /* richcmpfunc tp_richcompare; */
 
        /***  weak reference enabler ***/
 #ifdef USE_WEAKREFS
@@ -6690,8 +6690,8 @@ static PyTypeObject pyrna_prop_collection_iter_Type = {
        NULL,                       /* inquiry tp_clear; */
 
        /***  Assigned meaning in release 2.1 ***/
-       /*** rich comparisons ***/
-       NULL, /* subclassed */      /* richcmpfunc tp_richcompare; */
+       /*** rich comparisons (subclassed) ***/
+       NULL, /* richcmpfunc tp_richcompare; */
 
        /***  weak reference enabler ***/
 #ifdef USE_WEAKREFS