summaryrefslogtreecommitdiffstats
path: root/Tests/BundleTest
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/BundleTest
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/BundleTest')
-rw-r--r--Tests/BundleTest/BundleLib.cxx3
-rw-r--r--Tests/BundleTest/BundleTest.cxx3
2 files changed, 2 insertions, 4 deletions
diff --git a/Tests/BundleTest/BundleLib.cxx b/Tests/BundleTest/BundleLib.cxx
index 2e4325c..b7fd70d 100644
--- a/Tests/BundleTest/BundleLib.cxx
+++ b/Tests/BundleTest/BundleLib.cxx
@@ -1,10 +1,9 @@
+#include <CoreFoundation/CoreFoundation.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
-#include <CoreFoundation/CoreFoundation.h>
-
int fileExists(char* filename)
{
#ifndef R_OK
diff --git a/Tests/BundleTest/BundleTest.cxx b/Tests/BundleTest/BundleTest.cxx
index a5e8f59..9b70e52 100644
--- a/Tests/BundleTest/BundleTest.cxx
+++ b/Tests/BundleTest/BundleTest.cxx
@@ -1,6 +1,5 @@
-#include <stdio.h>
-
#include <CoreFoundation/CoreFoundation.h>
+#include <stdio.h>
extern int foo(char* exec);