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 /Tests/FindGTK2 | |
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 'Tests/FindGTK2')
-rw-r--r-- | Tests/FindGTK2/cairomm/main.cpp | 8 | ||||
-rw-r--r-- | Tests/FindGTK2/gtkmm/helloworld.cpp | 1 | ||||
-rw-r--r-- | Tests/FindGTK2/gtkmm/main.cpp | 3 | ||||
-rw-r--r-- | Tests/FindGTK2/sigc++/main.cpp | 1 |
4 files changed, 8 insertions, 5 deletions
diff --git a/Tests/FindGTK2/cairomm/main.cpp b/Tests/FindGTK2/cairomm/main.cpp index 4432601..48e5e39 100644 --- a/Tests/FindGTK2/cairomm/main.cpp +++ b/Tests/FindGTK2/cairomm/main.cpp @@ -8,13 +8,13 @@ # define _USE_MATH_DEFINES #endif -#include <cairomm/context.h> -#include <cairomm/surface.h> -#include <cairommconfig.h> +#include <cmath> #include <iostream> #include <string> -#include <cmath> +#include <cairomm/context.h> +#include <cairomm/surface.h> +#include <cairommconfig.h> int main() { diff --git a/Tests/FindGTK2/gtkmm/helloworld.cpp b/Tests/FindGTK2/gtkmm/helloworld.cpp index 5f4e0ae..45c9422 100644 --- a/Tests/FindGTK2/gtkmm/helloworld.cpp +++ b/Tests/FindGTK2/gtkmm/helloworld.cpp @@ -1,4 +1,5 @@ #include "helloworld.h" + #include <iostream> HelloWorld::HelloWorld() diff --git a/Tests/FindGTK2/gtkmm/main.cpp b/Tests/FindGTK2/gtkmm/main.cpp index 1637da2..29e23fd 100644 --- a/Tests/FindGTK2/gtkmm/main.cpp +++ b/Tests/FindGTK2/gtkmm/main.cpp @@ -1,6 +1,7 @@ -#include "helloworld.h" #include <gtkmm.h> +#include "helloworld.h" + int main(int argc, char* argv[]) { Gtk::Main kit(argc, argv); diff --git a/Tests/FindGTK2/sigc++/main.cpp b/Tests/FindGTK2/sigc++/main.cpp index e56b910..4dae4f4 100644 --- a/Tests/FindGTK2/sigc++/main.cpp +++ b/Tests/FindGTK2/sigc++/main.cpp @@ -1,6 +1,7 @@ // Taken from https://developer.gnome.org/libsigc++-tutorial/stable/ch02.html #include <iostream> + #include <sigc++/sigc++.h> class AlienDetector |