diff options
author | Kitware Robot <kwrobot@kitware.com> | 2019-09-30 14:46:28 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-10-01 16:26:36 (GMT) |
commit | ed98209ddc8d5e9f5b20cd010c69a25d553b2654 (patch) | |
tree | bacc6e66e49837c6bbe02996caf360e1e9fbc211 /Tests/CMakeCommands | |
parent | 185fe49f29f6632a3c26c376fcb4934e91092ff7 (diff) | |
download | CMake-ed98209ddc8d5e9f5b20cd010c69a25d553b2654.zip CMake-ed98209ddc8d5e9f5b20cd010c69a25d553b2654.tar.gz CMake-ed98209ddc8d5e9f5b20cd010c69a25d553b2654.tar.bz2 |
Revise include order using clang-format-6.0
Run the `clang-format.bash` script to update our C and C++ code to a new
include order `.clang-format`. Use `clang-format` version 6.0.
Diffstat (limited to 'Tests/CMakeCommands')
8 files changed, 5 insertions, 11 deletions
diff --git a/Tests/CMakeCommands/target_include_directories/consumer.cpp b/Tests/CMakeCommands/target_include_directories/consumer.cpp index 267b0a3..d349650 100644 --- a/Tests/CMakeCommands/target_include_directories/consumer.cpp +++ b/Tests/CMakeCommands/target_include_directories/consumer.cpp @@ -1,5 +1,6 @@ #include "consumer.h" + #include "common.h" #include "cxx_only.h" #include "interfaceinclude.h" diff --git a/Tests/CMakeCommands/target_link_libraries/cmp0022/cmp0022lib.h b/Tests/CMakeCommands/target_link_libraries/cmp0022/cmp0022lib.h index 3235b9b..e939013 100644 --- a/Tests/CMakeCommands/target_link_libraries/cmp0022/cmp0022lib.h +++ b/Tests/CMakeCommands/target_link_libraries/cmp0022/cmp0022lib.h @@ -1,6 +1,5 @@ -#include "cmp0022lib_export.h" - #include "cmp0022ifacelib.h" +#include "cmp0022lib_export.h" CMP0022Iface CMP0022LIB_EXPORT cmp0022(); diff --git a/Tests/CMakeCommands/target_link_libraries/depB.cpp b/Tests/CMakeCommands/target_link_libraries/depB.cpp index 4f46552..276a91a 100644 --- a/Tests/CMakeCommands/target_link_libraries/depB.cpp +++ b/Tests/CMakeCommands/target_link_libraries/depB.cpp @@ -2,7 +2,6 @@ #include "depB.h" #include "depA.h" - #include "libgenex.h" int DepB::foo() diff --git a/Tests/CMakeCommands/target_link_libraries/depC.h b/Tests/CMakeCommands/target_link_libraries/depC.h index 01c9e06..af7bfa3 100644 --- a/Tests/CMakeCommands/target_link_libraries/depC.h +++ b/Tests/CMakeCommands/target_link_libraries/depC.h @@ -1,7 +1,6 @@ -#include "depc_export.h" - #include "depA.h" +#include "depc_export.h" struct DEPC_EXPORT DepC { diff --git a/Tests/CMakeCommands/target_link_libraries/depD.h b/Tests/CMakeCommands/target_link_libraries/depD.h index d24ff5f..e3700c3 100644 --- a/Tests/CMakeCommands/target_link_libraries/depD.h +++ b/Tests/CMakeCommands/target_link_libraries/depD.h @@ -1,7 +1,6 @@ -#include "depd_export.h" - #include "depA.h" +#include "depd_export.h" struct DEPD_EXPORT DepD { diff --git a/Tests/CMakeCommands/target_link_libraries/newsignature1.cpp b/Tests/CMakeCommands/target_link_libraries/newsignature1.cpp index 1caa516..b23b7a0 100644 --- a/Tests/CMakeCommands/target_link_libraries/newsignature1.cpp +++ b/Tests/CMakeCommands/target_link_libraries/newsignature1.cpp @@ -2,7 +2,6 @@ #include "depB.h" #include "depC.h" #include "depIfaceOnly.h" - #include "subdirlib.h" int main(int, char**) diff --git a/Tests/CMakeCommands/target_link_libraries/targetA.cpp b/Tests/CMakeCommands/target_link_libraries/targetA.cpp index 1caa516..b23b7a0 100644 --- a/Tests/CMakeCommands/target_link_libraries/targetA.cpp +++ b/Tests/CMakeCommands/target_link_libraries/targetA.cpp @@ -2,7 +2,6 @@ #include "depB.h" #include "depC.h" #include "depIfaceOnly.h" - #include "subdirlib.h" int main(int, char**) diff --git a/Tests/CMakeCommands/target_link_libraries/targetC.cpp b/Tests/CMakeCommands/target_link_libraries/targetC.cpp index cae02b9..11efb3d 100644 --- a/Tests/CMakeCommands/target_link_libraries/targetC.cpp +++ b/Tests/CMakeCommands/target_link_libraries/targetC.cpp @@ -1,7 +1,6 @@ -#include "depG.h" - #include "bar.h" +#include "depG.h" #include "foo.h" #ifndef TEST_DEF |