summaryrefslogtreecommitdiffstats
path: root/Tests/Complex
diff options
context:
space:
mode:
authorKitware Robot <kwrobot@kitware.com>2019-09-30 14:46:28 (GMT)
committerBrad King <brad.king@kitware.com>2019-10-01 16:26:36 (GMT)
commited98209ddc8d5e9f5b20cd010c69a25d553b2654 (patch)
treebacc6e66e49837c6bbe02996caf360e1e9fbc211 /Tests/Complex
parent185fe49f29f6632a3c26c376fcb4934e91092ff7 (diff)
downloadCMake-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/Complex')
-rw-r--r--Tests/Complex/Executable/complex.cxx8
-rw-r--r--Tests/Complex/Library/testConly.c1
2 files changed, 6 insertions, 3 deletions
diff --git a/Tests/Complex/Executable/complex.cxx b/Tests/Complex/Executable/complex.cxx
index 9ddf005..49e97d5 100644
--- a/Tests/Complex/Executable/complex.cxx
+++ b/Tests/Complex/Executable/complex.cxx
@@ -1,20 +1,22 @@
-#include "Aout.h"
-#include "ExtraSources/file1.h"
#include "cmTestConfigure.h"
#include "cmTestConfigureEscape.h"
#include "cmTestGeneratedHeader.h"
#include "cmVersion.h"
+
+#include "Aout.h"
+#include "ExtraSources/file1.h"
#include "file2.h"
#include "sharedFile.h"
extern "C" {
#include "testConly.h"
}
#include <iostream>
-#include <string.h>
#include <string>
#include <vector>
#include <stdio.h>
+#include <string.h>
+
#include <sys/stat.h>
#if !defined(S_ISDIR)
# define S_ISDIR(mode) ((mode)&_S_IFDIR)
diff --git a/Tests/Complex/Library/testConly.c b/Tests/Complex/Library/testConly.c
index a7d20b0..eb933a2 100644
--- a/Tests/Complex/Library/testConly.c
+++ b/Tests/Complex/Library/testConly.c
@@ -1,4 +1,5 @@
#include "testConly.h"
+
#include <stdio.h>
int CsharedFunction()