diff options
author | Brad King <brad.king@kitware.com> | 2019-10-02 11:53:33 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-10-02 11:53:43 (GMT) |
commit | d57c1a5b3116d1df1bd5a7c2d9857e7b96d2a4f4 (patch) | |
tree | 70119086f84badda59d3df7b35ab1dd59155794c /Tests/RunCMake | |
parent | a4f404d0a5bdb7ce2c403ab65b208703985c4280 (diff) | |
parent | ed98209ddc8d5e9f5b20cd010c69a25d553b2654 (diff) | |
download | CMake-d57c1a5b3116d1df1bd5a7c2d9857e7b96d2a4f4.zip CMake-d57c1a5b3116d1df1bd5a7c2d9857e7b96d2a4f4.tar.gz CMake-d57c1a5b3116d1df1bd5a7c2d9857e7b96d2a4f4.tar.bz2 |
Merge topic 'clang-format-normalize-headers-presentation'
ed98209ddc Revise include order using clang-format-6.0
185fe49f29 clang-format: Normalize headers presentation
42ef28b4f3 Remove unused uid_t/gid_t types on Windows
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Sebastian Holtermann <sebholt@web.de>
Merge-request: !3851
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() |