From ed98209ddc8d5e9f5b20cd010c69a25d553b2654 Mon Sep 17 00:00:00 2001 From: Kitware Robot Date: Mon, 30 Sep 2019 10:46:28 -0400 Subject: 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. --- Tests/ExternalProjectLocal/Step5/MathFunctions/mysqrt.cxx | 7 ++++--- Tests/ExternalProjectLocal/Step5/tutorial.cxx | 3 ++- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'Tests/ExternalProjectLocal') diff --git a/Tests/ExternalProjectLocal/Step5/MathFunctions/mysqrt.cxx b/Tests/ExternalProjectLocal/Step5/MathFunctions/mysqrt.cxx index 458ed63a15..a44aba0209 100644 --- a/Tests/ExternalProjectLocal/Step5/MathFunctions/mysqrt.cxx +++ b/Tests/ExternalProjectLocal/Step5/MathFunctions/mysqrt.cxx @@ -1,12 +1,13 @@ +#include + #include "MathFunctions.h" #include "TutorialConfig.h" -#include // include the generated table -#include "Table.h" - #include +#include "Table.h" + // a hack square root calculation using simple operations double mysqrt(double x) { diff --git a/Tests/ExternalProjectLocal/Step5/tutorial.cxx b/Tests/ExternalProjectLocal/Step5/tutorial.cxx index 37f6ac4567..8d077b29c1 100644 --- a/Tests/ExternalProjectLocal/Step5/tutorial.cxx +++ b/Tests/ExternalProjectLocal/Step5/tutorial.cxx @@ -1,9 +1,10 @@ // A simple program that computes the square root of a number -#include "TutorialConfig.h" #include #include #include +#include "TutorialConfig.h" + #ifdef USE_MYMATH # include "MathFunctions.h" #endif -- cgit v1.2.1