From 43b40b7465fbd3b0abcba0c0975954b738a9a6f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Wed, 4 Sep 2013 06:18:22 +0200 Subject: [PATCH] Refactoring: Reordered includes. Put local ones before system includes. --- cli/cmdlineparser.cpp | 15 ++++++++------- cli/cppcheckexecutor.cpp | 13 ++++++------- cli/filelister.cpp | 4 ++-- cli/threadexecutor.cpp | 2 +- 4 files changed, 17 insertions(+), 17 deletions(-) diff --git a/cli/cmdlineparser.cpp b/cli/cmdlineparser.cpp index 82bf6e166..f5838dbcc 100644 --- a/cli/cmdlineparser.cpp +++ b/cli/cmdlineparser.cpp @@ -16,19 +16,20 @@ * along with this program. If not, see . */ +#include "cmdlineparser.h" +#include "cppcheck.h" +#include "filelister.h" +#include "path.h" +#include "settings.h" +#include "timer.h" + #include #include #include #include #include #include -#include // EXIT_FAILURE -#include "cppcheck.h" -#include "timer.h" -#include "settings.h" -#include "cmdlineparser.h" -#include "path.h" -#include "filelister.h" +#include // EXIT_FAILURE #ifdef HAVE_RULES // xml is used in rules diff --git a/cli/cppcheckexecutor.cpp b/cli/cppcheckexecutor.cpp index 236f74b05..597efc7d9 100644 --- a/cli/cppcheckexecutor.cpp +++ b/cli/cppcheckexecutor.cpp @@ -17,10 +17,14 @@ */ #include "cppcheckexecutor.h" +#include "cmdlineparser.h" #include "cppcheck.h" -#include "threadexecutor.h" -#include "preprocessor.h" #include "errorlogger.h" +#include "filelister.h" +#include "path.h" +#include "pathmatch.h" +#include "preprocessor.h" +#include "threadexecutor.h" #include #include #include // EXIT_SUCCESS and EXIT_FAILURE @@ -28,11 +32,6 @@ #include #include -#include "cmdlineparser.h" -#include "filelister.h" -#include "path.h" -#include "pathmatch.h" - CppCheckExecutor::CppCheckExecutor() : _settings(0), time1(0), errorlist(false) { diff --git a/cli/filelister.cpp b/cli/filelister.cpp index 8e0c477d1..d2de849a7 100644 --- a/cli/filelister.cpp +++ b/cli/filelister.cpp @@ -16,11 +16,11 @@ * along with this program. If not, see . */ +#include "filelister.h" +#include "path.h" #include #include #include -#include "filelister.h" -#include "path.h" #ifdef _WIN32 diff --git a/cli/threadexecutor.cpp b/cli/threadexecutor.cpp index 660dfb32c..23acafb00 100644 --- a/cli/threadexecutor.cpp +++ b/cli/threadexecutor.cpp @@ -16,9 +16,9 @@ * along with this program. If not, see . */ -#include "cppcheckexecutor.h" #include "threadexecutor.h" #include "cppcheck.h" +#include "cppcheckexecutor.h" #ifdef THREADING_MODEL_FORK #include #include