Refactoring: Reordered includes. Put local ones before system includes.
This commit is contained in:
parent
3b8e9f5a2a
commit
43b40b7465
|
@ -16,19 +16,20 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "cmdlineparser.h"
|
||||
#include "cppcheck.h"
|
||||
#include "filelister.h"
|
||||
#include "path.h"
|
||||
#include "settings.h"
|
||||
#include "timer.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include <fstream>
|
||||
#include <string>
|
||||
#include <cstring>
|
||||
#include <stdlib.h> // EXIT_FAILURE
|
||||
#include "cppcheck.h"
|
||||
#include "timer.h"
|
||||
#include "settings.h"
|
||||
#include "cmdlineparser.h"
|
||||
#include "path.h"
|
||||
#include "filelister.h"
|
||||
#include <cstdlib> // EXIT_FAILURE
|
||||
|
||||
#ifdef HAVE_RULES
|
||||
// xml is used in rules
|
||||
|
|
|
@ -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 <iostream>
|
||||
#include <sstream>
|
||||
#include <cstdlib> // EXIT_SUCCESS and EXIT_FAILURE
|
||||
|
@ -28,11 +32,6 @@
|
|||
#include <algorithm>
|
||||
#include <climits>
|
||||
|
||||
#include "cmdlineparser.h"
|
||||
#include "filelister.h"
|
||||
#include "path.h"
|
||||
#include "pathmatch.h"
|
||||
|
||||
CppCheckExecutor::CppCheckExecutor()
|
||||
: _settings(0), time1(0), errorlist(false)
|
||||
{
|
||||
|
|
|
@ -16,11 +16,11 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "filelister.h"
|
||||
#include "path.h"
|
||||
#include <cstring>
|
||||
#include <string>
|
||||
#include <sstream>
|
||||
#include "filelister.h"
|
||||
#include "path.h"
|
||||
|
||||
|
||||
#ifdef _WIN32
|
||||
|
|
|
@ -16,9 +16,9 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "cppcheckexecutor.h"
|
||||
#include "threadexecutor.h"
|
||||
#include "cppcheck.h"
|
||||
#include "cppcheckexecutor.h"
|
||||
#ifdef THREADING_MODEL_FORK
|
||||
#include <algorithm>
|
||||
#include <iostream>
|
||||
|
|
Loading…
Reference in New Issue