CMake/Tests/ExportImport/Import/A
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
..
excludedFromAll Test non-IMPORTED libraries in the INTERFACE of IMPORTED libraries. 2013-07-02 17:03:53 +02:00
framework_interface Use linked frameworks as a source of include directories. 2013-07-24 11:49:06 -04:00
CMakeLists.txt Tests: Cover NO_SONAME property for SHARED libraries 2015-08-20 10:38:34 -04:00
check_lib_nosoname.cmake Tests: Use a less strict regular expression to look for "SONAME" 2015-09-01 10:30:09 -04:00
check_lib_soname.cmake Tests: Use a less strict regular expression to look for "SONAME" 2015-09-01 10:30:09 -04:00
check_testLib1_genex.cmake install: Support generator expressions in FILES and PROGRAMS mode 2014-02-21 17:05:26 -05:00
cmp0022NEW_test.cpp Export: Generate INTERFACE_LINK_LIBRARIES property on targets. 2013-07-08 22:39:57 +02:00
cmp0022NEW_test_vs6_1.cpp Export: Generate INTERFACE_LINK_LIBRARIES property on targets. 2013-07-08 22:39:57 +02:00
cmp0022NEW_test_vs6_2.cpp Export: Generate INTERFACE_LINK_LIBRARIES property on targets. 2013-07-08 22:39:57 +02:00
cmp0022OLD_test.cpp Export: Generate INTERFACE_LINK_LIBRARIES property on targets. 2013-07-08 22:39:57 +02:00
cmp0022OLD_test_vs6_1.cpp Export: Generate INTERFACE_LINK_LIBRARIES property on targets. 2013-07-08 22:39:57 +02:00
cmp0022OLD_test_vs6_2.cpp Export: Generate INTERFACE_LINK_LIBRARIES property on targets. 2013-07-08 22:39:57 +02:00
deps_iface.c Export: Prefix relative items with genexes in INSTALL_INTERFACE. 2013-11-26 13:01:53 +01:00
deps_shared_iface.cpp Format include directive blocks and ordering with clang-format 2016-04-29 13:58:54 -04:00
iface_test.cpp Test non-IMPORTED libraries in the INTERFACE of IMPORTED libraries. 2013-07-02 17:03:53 +02:00
imp_lib1.c
imp_mod1.c
imp_testExe1.c Add generator expression support to OUTPUT_DIRECTORY target properties 2015-08-12 13:43:00 -04:00
imp_testExeAbs1.c install: Allow absolute EXPORT destination with relative targets (#15258) 2014-12-15 11:45:49 -05:00
renamed_test.cpp Add EXPORT_NAME property. 2013-05-18 10:00:48 +02:00
test_system.cpp Always consider includes from IMPORTED targets to be SYSTEM. 2013-09-24 20:00:31 +02:00