sys: More compile time improvements

This commit is contained in:
WerWolv
2021-08-29 22:15:18 +02:00
parent 1ba185bf71
commit 633fa7213a
53 changed files with 258 additions and 217 deletions

View File

@@ -1,6 +1,7 @@
#include <hex/api/content_registry.hpp>
#include <hex/helpers/shared_data.hpp>
#include <hex/helpers/utils.hpp>
#include <filesystem>
#include <fstream>

View File

@@ -2,6 +2,8 @@
#include <hex/helpers/shared_data.hpp>
#include <hex/helpers/fmt.hpp>
namespace hex::dp {
Node::Node(std::string_view unlocalizedTitle, std::vector<Attribute> attributes) : m_id(SharedData::dataProcessorNodeIdCounter++), m_unlocalizedTitle(unlocalizedTitle), m_attributes(std::move(attributes)) {

View File

@@ -5,6 +5,8 @@
#include <locale>
#include <filesystem>
#include <hex/helpers/fmt.hpp>
#if defined(OS_WINDOWS)
#include <windows.h>
#include <shlobj.h>

View File

@@ -1,8 +1,10 @@
#include <hex/lang/evaluator.hpp>
#include <hex/lang/token.hpp>
#include <hex/helpers/utils.hpp>
#include <hex/api/content_registry.hpp>
#include <hex/providers/provider.hpp>
#include <hex/lang/token.hpp>
#include <hex/lang/pattern_data.hpp>
#include <bit>
#include <algorithm>

View File

@@ -1,5 +1,7 @@
#include <hex/lang/parser.hpp>
#include <hex/helpers/fmt.hpp>
#include <optional>
#define MATCHES(x) (begin() && x)

View File

@@ -1,5 +1,8 @@
#include <hex/lang/preprocessor.hpp>
#include <hex/helpers/utils.hpp>
#include <hex/helpers/fmt.hpp>
#include <filesystem>
namespace hex::lang {

View File

@@ -1,10 +1,10 @@
#include <hex/lang/validator.hpp>
#include <hex/helpers/fmt.hpp>
#include <unordered_set>
#include <string>
#include <hex/helpers/utils.hpp>
namespace hex::lang {
Validator::Validator() {

View File

@@ -3,6 +3,7 @@
#include <hex.hpp>
#include <cmath>
#include <cstring>
#include <map>
#include <optional>
#include <string>