diff options
author | Kitware Robot <kwrobot@kitware.com> | 2019-09-30 14:46:28 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-10-01 16:26:36 (GMT) |
commit | ed98209ddc8d5e9f5b20cd010c69a25d553b2654 (patch) | |
tree | bacc6e66e49837c6bbe02996caf360e1e9fbc211 /Help | |
parent | 185fe49f29f6632a3c26c376fcb4934e91092ff7 (diff) | |
download | CMake-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 'Help')
16 files changed, 27 insertions, 12 deletions
diff --git a/Help/guide/tutorial/Complete/MathFunctions/MathFunctions.cxx b/Help/guide/tutorial/Complete/MathFunctions/MathFunctions.cxx index 5351184..0145300 100644 --- a/Help/guide/tutorial/Complete/MathFunctions/MathFunctions.cxx +++ b/Help/guide/tutorial/Complete/MathFunctions/MathFunctions.cxx @@ -1,5 +1,6 @@ #include "MathFunctions.h" + #include <cmath> #ifdef USE_MYMATH diff --git a/Help/guide/tutorial/Complete/MathFunctions/mysqrt.cxx b/Help/guide/tutorial/Complete/MathFunctions/mysqrt.cxx index ff37312..8153f18 100644 --- a/Help/guide/tutorial/Complete/MathFunctions/mysqrt.cxx +++ b/Help/guide/tutorial/Complete/MathFunctions/mysqrt.cxx @@ -1,6 +1,7 @@ -#include "MathFunctions.h" #include <iostream> +#include "MathFunctions.h" + // include the generated table #include "Table.h" diff --git a/Help/guide/tutorial/MultiPackage/MathFunctions/MathFunctions.cxx b/Help/guide/tutorial/MultiPackage/MathFunctions/MathFunctions.cxx index 5351184..0145300 100644 --- a/Help/guide/tutorial/MultiPackage/MathFunctions/MathFunctions.cxx +++ b/Help/guide/tutorial/MultiPackage/MathFunctions/MathFunctions.cxx @@ -1,5 +1,6 @@ #include "MathFunctions.h" + #include <cmath> #ifdef USE_MYMATH diff --git a/Help/guide/tutorial/MultiPackage/MathFunctions/mysqrt.cxx b/Help/guide/tutorial/MultiPackage/MathFunctions/mysqrt.cxx index 4c212b3..5e622be 100644 --- a/Help/guide/tutorial/MultiPackage/MathFunctions/mysqrt.cxx +++ b/Help/guide/tutorial/MultiPackage/MathFunctions/mysqrt.cxx @@ -1,6 +1,7 @@ -#include "MathFunctions.h" #include <iostream> +#include "MathFunctions.h" + // include the generated table #include "Table.h" diff --git a/Help/guide/tutorial/Step10/MathFunctions/MathFunctions.cxx b/Help/guide/tutorial/Step10/MathFunctions/MathFunctions.cxx index 5351184..0145300 100644 --- a/Help/guide/tutorial/Step10/MathFunctions/MathFunctions.cxx +++ b/Help/guide/tutorial/Step10/MathFunctions/MathFunctions.cxx @@ -1,5 +1,6 @@ #include "MathFunctions.h" + #include <cmath> #ifdef USE_MYMATH diff --git a/Help/guide/tutorial/Step10/MathFunctions/mysqrt.cxx b/Help/guide/tutorial/Step10/MathFunctions/mysqrt.cxx index ff37312..8153f18 100644 --- a/Help/guide/tutorial/Step10/MathFunctions/mysqrt.cxx +++ b/Help/guide/tutorial/Step10/MathFunctions/mysqrt.cxx @@ -1,6 +1,7 @@ -#include "MathFunctions.h" #include <iostream> +#include "MathFunctions.h" + // include the generated table #include "Table.h" diff --git a/Help/guide/tutorial/Step11/MathFunctions/MathFunctions.cxx b/Help/guide/tutorial/Step11/MathFunctions/MathFunctions.cxx index 5351184..0145300 100644 --- a/Help/guide/tutorial/Step11/MathFunctions/MathFunctions.cxx +++ b/Help/guide/tutorial/Step11/MathFunctions/MathFunctions.cxx @@ -1,5 +1,6 @@ #include "MathFunctions.h" + #include <cmath> #ifdef USE_MYMATH diff --git a/Help/guide/tutorial/Step11/MathFunctions/mysqrt.cxx b/Help/guide/tutorial/Step11/MathFunctions/mysqrt.cxx index ff37312..8153f18 100644 --- a/Help/guide/tutorial/Step11/MathFunctions/mysqrt.cxx +++ b/Help/guide/tutorial/Step11/MathFunctions/mysqrt.cxx @@ -1,6 +1,7 @@ -#include "MathFunctions.h" #include <iostream> +#include "MathFunctions.h" + // include the generated table #include "Table.h" diff --git a/Help/guide/tutorial/Step3/MathFunctions/mysqrt.cxx b/Help/guide/tutorial/Step3/MathFunctions/mysqrt.cxx index 7d9379e..abe767d 100644 --- a/Help/guide/tutorial/Step3/MathFunctions/mysqrt.cxx +++ b/Help/guide/tutorial/Step3/MathFunctions/mysqrt.cxx @@ -1,6 +1,7 @@ -#include "MathFunctions.h" #include <iostream> +#include "MathFunctions.h" + // a hack square root calculation using simple operations double mysqrt(double x) { diff --git a/Help/guide/tutorial/Step4/MathFunctions/mysqrt.cxx b/Help/guide/tutorial/Step4/MathFunctions/mysqrt.cxx index 7d9379e..abe767d 100644 --- a/Help/guide/tutorial/Step4/MathFunctions/mysqrt.cxx +++ b/Help/guide/tutorial/Step4/MathFunctions/mysqrt.cxx @@ -1,6 +1,7 @@ -#include "MathFunctions.h" #include <iostream> +#include "MathFunctions.h" + // a hack square root calculation using simple operations double mysqrt(double x) { diff --git a/Help/guide/tutorial/Step5/MathFunctions/mysqrt.cxx b/Help/guide/tutorial/Step5/MathFunctions/mysqrt.cxx index 7d9379e..abe767d 100644 --- a/Help/guide/tutorial/Step5/MathFunctions/mysqrt.cxx +++ b/Help/guide/tutorial/Step5/MathFunctions/mysqrt.cxx @@ -1,6 +1,7 @@ -#include "MathFunctions.h" #include <iostream> +#include "MathFunctions.h" + // a hack square root calculation using simple operations double mysqrt(double x) { diff --git a/Help/guide/tutorial/Step6/MathFunctions/mysqrt.cxx b/Help/guide/tutorial/Step6/MathFunctions/mysqrt.cxx index 3f23245..0637063 100644 --- a/Help/guide/tutorial/Step6/MathFunctions/mysqrt.cxx +++ b/Help/guide/tutorial/Step6/MathFunctions/mysqrt.cxx @@ -1,7 +1,7 @@ -#include "MathFunctions.h" +#include <cmath> #include <iostream> -#include <cmath> +#include "MathFunctions.h" // a hack square root calculation using simple operations double mysqrt(double x) diff --git a/Help/guide/tutorial/Step7/MathFunctions/mysqrt.cxx b/Help/guide/tutorial/Step7/MathFunctions/mysqrt.cxx index 2ae60c6..7d80ee9 100644 --- a/Help/guide/tutorial/Step7/MathFunctions/mysqrt.cxx +++ b/Help/guide/tutorial/Step7/MathFunctions/mysqrt.cxx @@ -1,6 +1,7 @@ -#include "MathFunctions.h" #include <iostream> +#include "MathFunctions.h" + // include the generated table #include "Table.h" diff --git a/Help/guide/tutorial/Step8/MathFunctions/mysqrt.cxx b/Help/guide/tutorial/Step8/MathFunctions/mysqrt.cxx index 2ae60c6..7d80ee9 100644 --- a/Help/guide/tutorial/Step8/MathFunctions/mysqrt.cxx +++ b/Help/guide/tutorial/Step8/MathFunctions/mysqrt.cxx @@ -1,6 +1,7 @@ -#include "MathFunctions.h" #include <iostream> +#include "MathFunctions.h" + // include the generated table #include "Table.h" diff --git a/Help/guide/tutorial/Step9/MathFunctions/MathFunctions.cxx b/Help/guide/tutorial/Step9/MathFunctions/MathFunctions.cxx index 5351184..0145300 100644 --- a/Help/guide/tutorial/Step9/MathFunctions/MathFunctions.cxx +++ b/Help/guide/tutorial/Step9/MathFunctions/MathFunctions.cxx @@ -1,5 +1,6 @@ #include "MathFunctions.h" + #include <cmath> #ifdef USE_MYMATH diff --git a/Help/guide/tutorial/Step9/MathFunctions/mysqrt.cxx b/Help/guide/tutorial/Step9/MathFunctions/mysqrt.cxx index 2ae60c6..7d80ee9 100644 --- a/Help/guide/tutorial/Step9/MathFunctions/mysqrt.cxx +++ b/Help/guide/tutorial/Step9/MathFunctions/mysqrt.cxx @@ -1,6 +1,7 @@ -#include "MathFunctions.h" #include <iostream> +#include "MathFunctions.h" + // include the generated table #include "Table.h" |