1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 17:37:34 +00:00

Everywhere: Use nested namespace qualifiers

This commit is contained in:
Nico Weber 2023-07-11 13:49:08 -04:00 committed by Ali Mohammad Pur
parent a2f33fdcef
commit 66e210e406
27 changed files with 30 additions and 91 deletions

View file

@ -6,8 +6,7 @@
#include <LibWeb/HTML/AttributeNames.h>
namespace Web {
namespace HTML {
namespace Web::HTML {
namespace AttributeNames {
#define __ENUMERATE_HTML_ATTRIBUTE(name) DeprecatedFlyString name;
@ -73,4 +72,3 @@ bool is_boolean_attribute(DeprecatedFlyString const& attribute)
}
}
}

View file

@ -9,8 +9,7 @@
#include <AK/DeprecatedFlyString.h>
#include <AK/Error.h>
namespace Web {
namespace HTML {
namespace Web::HTML {
namespace AttributeNames {
#define ENUMERATE_HTML_ATTRIBUTES \
@ -250,4 +249,3 @@ ErrorOr<void> initialize_strings();
bool is_boolean_attribute(DeprecatedFlyString const& attribute);
}
}

View file

@ -7,8 +7,7 @@
#include <AK/StringView.h>
#include <LibWeb/HTML/Parser/Entities.h>
namespace Web {
namespace HTML {
namespace Web::HTML {
Optional<EntityMatch> code_points_from_entity(StringView entity)
{
@ -2278,4 +2277,3 @@ Optional<EntityMatch> code_points_from_entity(StringView entity)
}
}
}

View file

@ -9,8 +9,7 @@
#include <AK/StringView.h>
#include <AK/Vector.h>
namespace Web {
namespace HTML {
namespace Web::HTML {
struct EntityMatch {
Vector<u32, 2> code_points;
@ -20,4 +19,3 @@ struct EntityMatch {
Optional<EntityMatch> code_points_from_entity(StringView);
}
}