includes <>

This commit is contained in:
whaffman 2025-09-26 18:10:41 +02:00
parent e5ad795917
commit 6abe64f9b7
11 changed files with 24 additions and 35 deletions

View File

@ -1,8 +1,7 @@
#pragma once #pragma once
#include "webserv/config/directive/DirectiveValue.hpp"
#include <webserv/config/directive/ADirective.hpp> // for ADirective #include <webserv/config/directive/ADirective.hpp> // for ADirective
#include <webserv/config/directive/DirectiveValue.hpp>
#include <map> // for map #include <map> // for map
#include <memory> // for unique_ptr #include <memory> // for unique_ptr

View File

@ -1,8 +1,7 @@
#include "webserv/config/GlobalConfig.hpp" // for GlobalConfig
#include <webserv/config/ConfigManager.hpp> #include <webserv/config/ConfigManager.hpp>
#include <webserv/config/utils.hpp> // for removeComments #include <webserv/config/GlobalConfig.hpp> // for GlobalConfig
#include <webserv/log/Log.hpp> // for Log #include <webserv/config/utils.hpp> // for removeComments
#include <webserv/log/Log.hpp> // for Log
#include <fstream> // for basic_ifstream, basic_filebuf, basic_ostream::operator<<, ifstream, stringstream #include <fstream> // for basic_ifstream, basic_filebuf, basic_ostream::operator<<, ifstream, stringstream
#include <sstream> // for basic_stringstream #include <sstream> // for basic_stringstream

View File

@ -1,5 +1,4 @@
#include "webserv/config/AConfig.hpp" // for AConfig #include <webserv/config/AConfig.hpp> // for AConfig
#include <webserv/config/LocationConfig.hpp> // for LocationConfig #include <webserv/config/LocationConfig.hpp> // for LocationConfig
#include <webserv/config/ServerConfig.hpp> #include <webserv/config/ServerConfig.hpp>
#include <webserv/config/utils.hpp> // for findCorrespondingClosingBrace, trim #include <webserv/config/utils.hpp> // for findCorrespondingClosingBrace, trim

View File

@ -1,8 +1,7 @@
#include "webserv/config/directive/ADirective.hpp" // for ADirective #include <webserv/config/directive/ADirective.hpp> // for ADirective
#include "webserv/config/directive/DirectiveValue.hpp" // for DirectiveValueType #include <webserv/config/directive/BoolDirective.hpp> // for IntDirective
#include <webserv/config/directive/DirectiveValue.hpp> // for DirectiveValueType
#include <webserv/config/directive/BoolDirective.hpp> // for IntDirective #include <webserv/config/utils.hpp> // for trim
#include <webserv/config/utils.hpp> // for trim
#include <algorithm> // for __transform_fn, transform #include <algorithm> // for __transform_fn, transform
#include <cctype> // for tolower #include <cctype> // for tolower

View File

@ -1,5 +1,3 @@
#include "webserv/log/Log.hpp" // for LOCATION, Log
#include <webserv/config/directive/BoolDirective.hpp> // for BoolDirective #include <webserv/config/directive/BoolDirective.hpp> // for BoolDirective
#include <webserv/config/directive/DirectiveFactory.hpp> // for DirectiveFactory #include <webserv/config/directive/DirectiveFactory.hpp> // for DirectiveFactory
#include <webserv/config/directive/IntDirective.hpp> // for IntDirective #include <webserv/config/directive/IntDirective.hpp> // for IntDirective
@ -8,6 +6,7 @@
#include <webserv/config/directive/StringDirective.hpp> // for StringDirective #include <webserv/config/directive/StringDirective.hpp> // for StringDirective
#include <webserv/config/directive/VectorDirective.hpp> // for VectorDirective #include <webserv/config/directive/VectorDirective.hpp> // for VectorDirective
#include <webserv/config/utils.hpp> // for trim, trimSemi #include <webserv/config/utils.hpp> // for trim, trimSemi
#include <webserv/log/Log.hpp> // for LOCATION, Log
#include <sstream> // for basic_stringstream, stringstream #include <sstream> // for basic_stringstream, stringstream
#include <stdexcept> // for invalid_argument #include <stdexcept> // for invalid_argument

View File

@ -1,7 +1,6 @@
#include "webserv/config/directive/ADirective.hpp" // for ADirective #include <webserv/config/directive/ADirective.hpp> // for ADirective
#include "webserv/config/directive/DirectiveValue.hpp" // for DirectiveValueType #include <webserv/config/directive/DirectiveValue.hpp> // for DirectiveValueType
#include <webserv/config/directive/IntDirective.hpp> // for IntDirective
#include <webserv/config/directive/IntDirective.hpp> // for IntDirective
IntDirective::IntDirective(const std::string &name, const std::string &value) IntDirective::IntDirective(const std::string &name, const std::string &value)
: ADirective(name) // NOLINT(bugprone-easily-swappable-parameters) : ADirective(name) // NOLINT(bugprone-easily-swappable-parameters)

View File

@ -1,6 +1,5 @@
#include "webserv/config/directive/ADirective.hpp" // for ADirective #include <webserv/config/directive/ADirective.hpp> // for ADirective
#include "webserv/config/directive/DirectiveValue.hpp" // for DirectiveValueType #include <webserv/config/directive/DirectiveValue.hpp> // for DirectiveValueType
#include <webserv/config/directive/IntStringDirective.hpp> // for IntDirective #include <webserv/config/directive/IntStringDirective.hpp> // for IntDirective
#include <webserv/config/utils.hpp> // for trim #include <webserv/config/utils.hpp> // for trim

View File

@ -1,8 +1,7 @@
#include "webserv/config/directive/ADirective.hpp" // for ADirective #include <webserv/config/directive/ADirective.hpp> // for ADirective
#include "webserv/config/directive/DirectiveValue.hpp" // for DirectiveValueType #include <webserv/config/directive/DirectiveValue.hpp> // for DirectiveValueType
#include <webserv/config/directive/SizeDirective.hpp> // for SizeDirective
#include <webserv/config/directive/SizeDirective.hpp> // for SizeDirective #include <webserv/config/utils.hpp> // for trim
#include <webserv/config/utils.hpp> // for trim
#include <algorithm> // for __transform_fn, transform #include <algorithm> // for __transform_fn, transform
#include <cctype> // for tolower #include <cctype> // for tolower

View File

@ -1,6 +1,5 @@
#include "webserv/config/directive/ADirective.hpp" // for ADirective #include <webserv/config/directive/ADirective.hpp> // for ADirective
#include "webserv/config/directive/DirectiveValue.hpp" // for DirectiveValueType #include <webserv/config/directive/DirectiveValue.hpp> // for DirectiveValueType
#include <webserv/config/directive/StringDirective.hpp> // for IntDirective #include <webserv/config/directive/StringDirective.hpp> // for IntDirective
StringDirective::StringDirective(const std::string &name, const std::string &value) StringDirective::StringDirective(const std::string &name, const std::string &value)

View File

@ -1,6 +1,5 @@
#include "webserv/config/directive/ADirective.hpp" // for ADirective #include <webserv/config/directive/ADirective.hpp> // for ADirective
#include "webserv/config/directive/DirectiveValue.hpp" // for DirectiveValueType #include <webserv/config/directive/DirectiveValue.hpp> // for DirectiveValueType
#include <webserv/config/directive/VectorDirective.hpp> // for IntDirective #include <webserv/config/directive/VectorDirective.hpp> // for IntDirective
#include <sstream> // for basic_stringstream, stringstream #include <sstream> // for basic_stringstream, stringstream

View File

@ -1,5 +1,4 @@
#include "webserv/config/utils.hpp" // for stoul #include <webserv/config/utils.hpp> // for stoul
#include <webserv/http/HttpConstants.hpp> // for CRLF, DOUBLE_CRLF #include <webserv/http/HttpConstants.hpp> // for CRLF, DOUBLE_CRLF
#include <webserv/http/HttpRequest.hpp> #include <webserv/http/HttpRequest.hpp>
#include <webserv/log/Log.hpp> // for Log, LOCATION #include <webserv/log/Log.hpp> // for Log, LOCATION