Skip to content

clang-format: format the entire codebase

Ben Boeckel requested to merge ben.boeckel/smtk:clang-format into master

This allows the robot to enforce formatting and fix formatting issues automatically.


Here's the clang-format branch. Please check to ensure that the end result is to our liking. It is recommended to review locally; gitlab probably won't handle this too well.

Total diffstat is 1273 files changed, 73999 insertions(+), 80122 deletions(-).

  • CMake (3 files changed, 21 insertions(+), 15 deletions(-))
  • doc (4 files changed, 55 insertions(+), 71 deletions(-))
  • smtk/*.* (6 files changed, 558 insertions(+), 547 deletions(-))
  • smtk/attribute (88 files changed, 6356 insertions(+), 6732 deletions(-))
  • smtk/bridge/cgm (61 files changed, 2131 insertions(+), 2119 deletions(-))
  • smtk/bridge/discrete/*.* (7 files changed, 1012 insertions(+), 1095 deletions(-))
  • smtk/bridge/discrete/kernel/*.* (48 files changed, 2788 insertions(+), 3045 deletions(-))
  • smtk/bridge/discrete/kernel/Model (35 files changed, 903 insertions(+), 1087 deletions(-))
  • smtk/bridge/discrete/kernel/Serialize (21 files changed, 862 insertions(+), 1018 deletions(-))
  • smtk/bridge/discrete/legacycmb/CMBModel/*.* (64 files changed, 1848 insertions(+), 2127 deletions(-))
  • smtk/bridge/discrete/legacycmb/CMBModel/Plugin (46 files changed, 954 insertions(+), 1137 deletions(-))
  • smtk/bridge/discrete/legacycmb/SimBuilderMesh (45 files changed, 1533 insertions(+), 1721 deletions(-))
  • smtk/bridge/discrete/moabreader (17 files changed, 1349 insertions(+), 1438 deletions(-))
  • smtk/bridge/discrete/operation (74 files changed, 3831 insertions(+), 4161 deletions(-))
  • smtk/bridge/discrete/operators (22 files changed, 876 insertions(+), 1004 deletions(-))
  • smtk/bridge/discrete/testing (6 files changed, 303 insertions(+), 308 deletions(-))
  • smtk/bridge/exodus (13 files changed, 665 insertions(+), 727 deletions(-))
  • smtk/bridge/mesh (15 files changed, 404 insertions(+), 438 deletions(-))
  • smtk/bridge/multiscale (16 files changed, 448 insertions(+), 529 deletions(-))
  • smtk/bridge/polygon/*.* (9 files changed, 377 insertions(+), 363 deletions(-))
  • smtk/bridge/polygon/internal (20 files changed, 1407 insertions(+), 1422 deletions(-))
  • smtk/bridge/polygon/operators (32 files changed, 1599 insertions(+), 1573 deletions(-))
  • smtk/bridge/polygon/plugin (6 files changed, 357 insertions(+), 402 deletions(-))
  • smtk/bridge/polygon/qt (12 files changed, 946 insertions(+), 1035 deletions(-))
  • smtk/bridge/polygon/vtk (8 files changed, 154 insertions(+), 160 deletions(-))
  • smtk/bridge/remote (13 files changed, 641 insertions(+), 732 deletions(-))
  • smtk/common (44 files changed, 3220 insertions(+), 4089 deletions(-))
  • smtk/extension/cumulus (23 files changed, 659 insertions(+), 668 deletions(-))
  • smtk/extension/delaunay (3 files changed, 54 insertions(+), 75 deletions(-))
  • smtk/extension/paraview (12 files changed, 490 insertions(+), 480 deletions(-))
  • smtk/extension/qt/qtAttribute* (10 files changed, 1158 insertions(+), 1230 deletions(-))
  • smtk/extension/qt/qt[B-D]* (12 files changed, 867 insertions(+), 900 deletions(-))
  • smtk/extension/qt/qtEntity* (6 files changed, 740 insertions(+), 791 deletions(-))
  • smtk/extension/qt/qt[F-G]* (6 files changed, 664 insertions(+), 695 deletions(-))
  • smtk/extension/qt/qtI* (6 files changed, 802 insertions(+), 844 deletions(-))
  • smtk/extension/qt/qtMesh* (4 files changed, 336 insertions(+), 384 deletions(-))
  • smtk/extension/qt/qtModel* (8 files changed, 1115 insertions(+), 1265 deletions(-))
  • smtk/extension/qt/qt[N-R]* (10 files changed, 255 insertions(+), 265 deletions(-))
  • smtk/extension/qt/qtS* (6 files changed, 585 insertions(+), 634 deletions(-))
  • smtk/extension/qt/qtT* (6 files changed, 228 insertions(+), 243 deletions(-))
  • smtk/extension/qt/qtU* (2 files changed, 397 insertions(+), 432 deletions(-))
  • smtk/extension/qt/qtV* (3 files changed, 62 insertions(+), 66 deletions(-))
  • smtk/extension/remus (3 files changed, 89 insertions(+), 104 deletions(-))
  • smtk/extension/vtk/filter (21 files changed, 738 insertions(+), 823 deletions(-))
  • smtk/extension/vtk/io (10 files changed, 690 insertions(+), 758 deletions(-))
  • smtk/extension/vtk/meshing (22 files changed, 2899 insertions(+), 3112 deletions(-))
  • smtk/extension/vtk/operators (13 files changed, 484 insertions(+), 527 deletions(-))
  • smtk/extension/vtk/reader (31 files changed, 2460 insertions(+), 2699 deletions(-))
  • smtk/extension/vtk/source (15 files changed, 832 insertions(+), 877 deletions(-))
  • smtk/extension/vtk/widgets (2 files changed, 252 insertions(+), 274 deletions(-))
  • smtk/io (52 files changed, 5115 insertions(+), 5776 deletions(-))
  • smtk/mesh/*.* (37 files changed, 3166 insertions(+), 3506 deletions(-))
  • smtk/mesh/moab (22 files changed, 1759 insertions(+), 1867 deletions(-))
  • smtk/mesh/json (6 files changed, 496 insertions(+), 546 deletions(-))
  • smtk/mesh/testing (33 files changed, 3186 insertions(+), 3471 deletions(-))
  • smtk/model/*.* (103 files changed, 5764 insertions(+), 5461 deletions(-))
  • smtk/model/operators (24 files changed, 446 insertions(+), 493 deletions(-))
  • smtk/model/testing (15 files changed, 985 insertions(+), 1059 deletions(-))
  • smtk/simulation (4 files changed, 60 insertions(+), 59 deletions(-))
  • smtk/doc.h (1 file changed, 94 insertions(+), 83 deletions(-))

Cc: @tjcorona @bob.obara @john.tourtellott @dcthomp @haocheng.liu

Merge request reports

Loading