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/RunCMake | |
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/RunCMake')
-rw-r--r-- | Tests/RunCMake/AutoExportDll/hello.cxx | 1 | ||||
-rw-r--r-- | Tests/RunCMake/AutoExportDll/say.cxx | 3 | ||||
-rw-r--r-- | Tests/RunCMake/GenerateExportHeader/exportheader_test.cpp | 10 | ||||
-rw-r--r-- | Tests/RunCMake/PrecompileHeaders/foo.c | 1 |
4 files changed, 9 insertions, 6 deletions
diff --git a/Tests/RunCMake/AutoExportDll/hello.cxx b/Tests/RunCMake/AutoExportDll/hello.cxx index 533fd3e..74e7a4e 100644 --- a/Tests/RunCMake/AutoExportDll/hello.cxx +++ b/Tests/RunCMake/AutoExportDll/hello.cxx @@ -1,4 +1,5 @@ #include "hello.h" + #include <stdio.h> int Hello::Data = 0; void Hello::real() diff --git a/Tests/RunCMake/AutoExportDll/say.cxx b/Tests/RunCMake/AutoExportDll/say.cxx index c8bfcc7..654b5e0 100644 --- a/Tests/RunCMake/AutoExportDll/say.cxx +++ b/Tests/RunCMake/AutoExportDll/say.cxx @@ -1,5 +1,6 @@ -#include "hello.h" #include <stdio.h> + +#include "hello.h" #ifdef _MSC_VER # include "windows.h" #else diff --git a/Tests/RunCMake/GenerateExportHeader/exportheader_test.cpp b/Tests/RunCMake/GenerateExportHeader/exportheader_test.cpp index 7e3e0e4..ba77679 100644 --- a/Tests/RunCMake/GenerateExportHeader/exportheader_test.cpp +++ b/Tests/RunCMake/GenerateExportHeader/exportheader_test.cpp @@ -1,13 +1,13 @@ -#include "libshared.h" - -#include "libstatic.h" - #include <fstream> #include <iostream> -#include <stdlib.h> #include <string> +#include <stdlib.h> + +#include "libshared.h" +#include "libstatic.h" + void compare(const char* refName, const char* testName) { std::ifstream ref; diff --git a/Tests/RunCMake/PrecompileHeaders/foo.c b/Tests/RunCMake/PrecompileHeaders/foo.c index 85ea230..eb88726 100644 --- a/Tests/RunCMake/PrecompileHeaders/foo.c +++ b/Tests/RunCMake/PrecompileHeaders/foo.c @@ -1,4 +1,5 @@ #include "foo.h" + #include "foo2.h" int foo() |