summaryrefslogtreecommitdiffstats
path: root/Tests/Tutorial/Step5
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-05-02 13:24:21 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-05-02 13:24:21 (GMT)
commit067b21b675bde6ccbb3009fbaaba5efaa78dbea0 (patch)
treeb5d16fda018cafbbdeef8587b46a323feda1374b /Tests/Tutorial/Step5
parent2e6684c65da317d0ffdb383bff895635c2947826 (diff)
parente1c7747253ac71a5215dd32a910b62a1fd8c561a (diff)
downloadCMake-067b21b675bde6ccbb3009fbaaba5efaa78dbea0.zip
CMake-067b21b675bde6ccbb3009fbaaba5efaa78dbea0.tar.gz
CMake-067b21b675bde6ccbb3009fbaaba5efaa78dbea0.tar.bz2
Merge topic 'clang-format-include-order'
e1c77472 Format include directive blocks and ordering with clang-format 180538c7 Source: Stabilize include order 0e7bca92 Utilities/Release: Stabilize include order in WiX custom action eb817be0 Tests: Stabilize include order in MFC, VSXaml, and VSWinStorePhone eda313b4 Tests: Stabilize include order in StringFileTest 7110b754 CursesDialog: add missing cmState include d7a5f255 Modules: Remove unused CMakeTestWatcomVersion.c file
Diffstat (limited to 'Tests/Tutorial/Step5')
-rw-r--r--Tests/Tutorial/Step5/MathFunctions/MakeTable.cxx2
-rw-r--r--Tests/Tutorial/Step5/MathFunctions/mysqrt.cxx2
-rw-r--r--Tests/Tutorial/Step5/tutorial.cxx4
3 files changed, 4 insertions, 4 deletions
diff --git a/Tests/Tutorial/Step5/MathFunctions/MakeTable.cxx b/Tests/Tutorial/Step5/MathFunctions/MakeTable.cxx
index ef98d5f..a23feeb 100644
--- a/Tests/Tutorial/Step5/MathFunctions/MakeTable.cxx
+++ b/Tests/Tutorial/Step5/MathFunctions/MakeTable.cxx
@@ -1,6 +1,6 @@
// A simple program that builds a sqrt table
-#include <stdio.h>
#include <math.h>
+#include <stdio.h>
int main (int argc, char *argv[])
{
diff --git a/Tests/Tutorial/Step5/MathFunctions/mysqrt.cxx b/Tests/Tutorial/Step5/MathFunctions/mysqrt.cxx
index 1f9b887..a488af6 100644
--- a/Tests/Tutorial/Step5/MathFunctions/mysqrt.cxx
+++ b/Tests/Tutorial/Step5/MathFunctions/mysqrt.cxx
@@ -1,6 +1,6 @@
-#include <stdio.h>
#include "MathFunctions.h"
#include "TutorialConfig.h"
+#include <stdio.h>
// include the generated table
#include "Table.h"
diff --git a/Tests/Tutorial/Step5/tutorial.cxx b/Tests/Tutorial/Step5/tutorial.cxx
index c27da0b..af88dad 100644
--- a/Tests/Tutorial/Step5/tutorial.cxx
+++ b/Tests/Tutorial/Step5/tutorial.cxx
@@ -1,8 +1,8 @@
// A simple program that computes the square root of a number
+#include "TutorialConfig.h"
+#include <math.h>
#include <stdio.h>
#include <stdlib.h>
-#include <math.h>
-#include "TutorialConfig.h"
#ifdef USE_MYMATH
#include "MathFunctions.h"