CMake/Source/QtDialog
Brad King e1c7747253 Format include directive blocks and ordering with clang-format
Sort include directives within each block (separated by a blank line) in
lexicographic order (except to prioritize `sys/types.h` first).  First
run `clang-format` with the config file:

    ---
    SortIncludes: false
    ...

Commit the result temporarily.  Then run `clang-format` again with:

    ---
    SortIncludes: true
    IncludeCategories:
      - Regex:    'sys/types.h'
        Priority: -1
    ...

Commit the result temporarily.  Start a new branch and cherry-pick the
second commit.  Manually resolve conflicts to preserve indentation of
re-ordered includes.  This cleans up the include ordering without
changing any other style.

Use the following command to run `clang-format`:

    $ git ls-files -z -- \
        '*.c' '*.cc' '*.cpp' '*.cxx' '*.h' '*.hh' '*.hpp' '*.hxx' |
      egrep -z -v '(Lexer|Parser|ParserHelper)\.' |
      egrep -z -v '^Source/cm_sha2' |
      egrep -z -v '^Source/(kwsys|CursesDialog/form)/' |
      egrep -z -v '^Utilities/(KW|cm).*/' |
      egrep -z -v '^Tests/Module/GenerateExportHeader' |
      egrep -z -v '^Tests/RunCMake/CommandLine/cmake_depends/test_UTF-16LE.h' |
      xargs -0 clang-format -i

This selects source files that do not come from a third-party.

Inspired-by: Daniel Pfeifer <daniel@pfeifer-mail.de>
2016-04-29 13:58:54 -04:00
..
AddCacheEntry.cxx Format include directive blocks and ordering with clang-format 2016-04-29 13:58:54 -04:00
AddCacheEntry.h Format include directive blocks and ordering with clang-format 2016-04-29 13:58:54 -04:00
AddCacheEntry.ui ENH: Add cross compiling support in the GUI in the same dialog that prompts for 2008-05-15 19:21:01 -04:00
CMake.desktop QtDialog: install the 128x128 icon 2014-10-29 11:47:29 -04:00
CMakeLists.txt cmake-gui: Populate CFBundleIdentifier in our Info.plist file (#16023) 2016-03-17 16:07:39 -04:00
CMakeSetup.cxx Format include directive blocks and ordering with clang-format 2016-04-29 13:58:54 -04:00
CMakeSetup.icns ENH: Use the latest CMake-logo-triangle-high-res.png to improve the look of CMakeSetup.icns on the Mac. 2009-01-21 13:20:47 -05:00
CMakeSetup.ico ENH: Put black outline around all resolutions of the new ico files. Looks better on a dark background than the lighter outline... 2007-11-08 15:54:26 -05:00
CMakeSetup.qrc BUG: Fix bug #9894. Make higher resolution CMake icon available as an application icon. On Mac, the higher resolution one is used in the dock. 2009-12-11 00:35:33 -05:00
CMakeSetup.rc ENH: Add interrupt button near progress bar. 2007-11-03 10:30:52 -04:00
CMakeSetup32.png BUG: Fix bug #9894. Make higher resolution CMake icon available as an application icon. On Mac, the higher resolution one is used in the dock. 2009-12-11 00:35:33 -05:00
CMakeSetup128.png BUG: Fix bug #9894. Make higher resolution CMake icon available as an application icon. On Mac, the higher resolution one is used in the dock. 2009-12-11 00:35:33 -05:00
CMakeSetupDialog.cxx Format include directive blocks and ordering with clang-format 2016-04-29 13:58:54 -04:00
CMakeSetupDialog.h Format include directive blocks and ordering with clang-format 2016-04-29 13:58:54 -04:00
CMakeSetupDialog.ui cmake-gui: Shrink spacing between search field and checkbox. 2015-01-26 09:22:21 -07:00
Compilers.h Source: Stabilize include order 2016-04-29 13:58:31 -04:00
Compilers.ui ENH: 2008-12-16 15:00:17 -05:00
CrossCompiler.ui ENH: Tweak System Name field for cross compiling, so it doesn't have a file chooser button. 2009-01-07 17:28:02 -05:00
Delete16.png ENH: Re-arrange UI a bit. 2007-11-10 11:36:09 -05:00
FirstConfigure.cxx Format include directive blocks and ordering with clang-format 2016-04-29 13:58:54 -04:00
FirstConfigure.h Source: Stabilize include order 2016-04-29 13:58:31 -04:00
Info.plist.in cmake-gui: Add support for HiDPI (Retina) screens on OS X 2015-08-17 11:36:42 -04:00
Plus16.png ENH: Add ability to add cache entries (even before first configure). 2007-11-12 23:54:49 -05:00
QCMake.cxx Format include directive blocks and ordering with clang-format 2016-04-29 13:58:54 -04:00
QCMake.h Format include directive blocks and ordering with clang-format 2016-04-29 13:58:54 -04:00
QCMakeCacheView.cxx Format include directive blocks and ordering with clang-format 2016-04-29 13:58:54 -04:00
QCMakeCacheView.h Format include directive blocks and ordering with clang-format 2016-04-29 13:58:54 -04:00
QCMakeWidgets.cxx Format include directive blocks and ordering with clang-format 2016-04-29 13:58:54 -04:00
QCMakeWidgets.h Format include directive blocks and ordering with clang-format 2016-04-29 13:58:54 -04:00
QtDialogCPack.cmake.in OS X: Package with DragNDrop instead of PackageMaker 2014-05-08 14:13:20 -04:00
RegexExplorer.cxx cmake-gui: Add regex explorer window 2015-12-03 21:45:54 +01:00
RegexExplorer.h Format include directive blocks and ordering with clang-format 2016-04-29 13:58:54 -04:00
RegexExplorer.ui cmake-gui: Add regex explorer window 2015-12-03 21:45:54 +01:00
WarningMessagesDialog.cxx cmake-gui: Add options to control warning-as-error messages 2016-01-12 14:03:32 -05:00
WarningMessagesDialog.h Format include directive blocks and ordering with clang-format 2016-04-29 13:58:54 -04:00
WarningMessagesDialog.ui cmake-gui: Add options to control warning-as-error messages 2016-01-12 14:03:32 -05:00
cmakecache.xml ENH: add KDE desktop stuff 2008-03-11 17:27:41 -04:00