Remove unnecessary includes
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
|
||||
#define BIT(x) (1<<x)
|
||||
|
||||
|
||||
+2
-3
@@ -1,10 +1,9 @@
|
||||
#include "ConfigFile.h"
|
||||
|
||||
#include <fstream>
|
||||
#include <map>
|
||||
#include "Common.h"
|
||||
#include "FileUtils.h"
|
||||
|
||||
#include <fstream>
|
||||
|
||||
#define FLAG_NONE 0
|
||||
#define FLAG_VECTOR 1
|
||||
#define FLAG_STRING 2
|
||||
|
||||
+3
-3
@@ -1,9 +1,9 @@
|
||||
#pragma once
|
||||
|
||||
#include <vector>
|
||||
#include <string>
|
||||
#include <optional>
|
||||
#include <map>
|
||||
#include <optional>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
static const std::string CONFIG_FILENAME = "makegen.conf";
|
||||
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include "ConfigFile.h"
|
||||
#include <map>
|
||||
|
||||
class HFileGen
|
||||
{
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#include "IncludeDeps.h"
|
||||
|
||||
#include "Common.h"
|
||||
|
||||
std::set<std::string> IncludeDeps::printSet;
|
||||
|
||||
@@ -2,10 +2,7 @@
|
||||
|
||||
#include "ConfigFile.h"
|
||||
#include "FileUtils.h"
|
||||
#include "Utils.h"
|
||||
|
||||
#include <exception>
|
||||
#include <fstream>
|
||||
#include <iostream>
|
||||
#include <map>
|
||||
#include <set>
|
||||
|
||||
@@ -1,12 +1,8 @@
|
||||
#include "Makefile.h"
|
||||
|
||||
#include "Common.h"
|
||||
#include "FileUtils.h"
|
||||
#include "IncludeDeps.h"
|
||||
#include "Utils.h"
|
||||
|
||||
#include <cstring>
|
||||
#include <dirent.h>
|
||||
#include <fstream>
|
||||
#include <map>
|
||||
|
||||
|
||||
@@ -2,9 +2,6 @@
|
||||
|
||||
#include "ConfigFile.h"
|
||||
|
||||
#include <set>
|
||||
#include <map>
|
||||
|
||||
class Makefile
|
||||
{
|
||||
public:
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
|
||||
#include "ConfigFile.h"
|
||||
|
||||
#include <map>
|
||||
#include <set>
|
||||
#include <string>
|
||||
|
||||
|
||||
@@ -2,18 +2,10 @@
|
||||
#include "ConfigFile.h"
|
||||
#include "FileUtils.h"
|
||||
#include "HFileGen.h"
|
||||
#include "IncludeDeps.h"
|
||||
#include "Makefile.h"
|
||||
#include "Timer.h"
|
||||
|
||||
#include <cmath>
|
||||
#include <cstring>
|
||||
#include <fstream>
|
||||
#include <iostream>
|
||||
#include <map>
|
||||
#include <string>
|
||||
#include <sys/sysinfo.h>
|
||||
#include <vector>
|
||||
#include <thread>
|
||||
|
||||
#define RETURN_IF(x, b) \
|
||||
|
||||
Reference in New Issue
Block a user