mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:57:44 +00:00
LibWeb: Use modern namespaces and fix clang-format comments in tag names
This commit is contained in:
parent
52a847a0eb
commit
efaf03e986
4 changed files with 6 additions and 14 deletions
|
@ -35,7 +35,7 @@ ENUMERATE_SVG_TAGS
|
|||
// clang-format off
|
||||
// FIXME: clang-format gets confused here. Why?
|
||||
[[gnu::constructor]] static void initialize()
|
||||
// clang-format off
|
||||
// clang-format on
|
||||
{
|
||||
static bool s_initialized = false;
|
||||
if (s_initialized)
|
||||
|
|
|
@ -31,8 +31,8 @@
|
|||
namespace Web::SVG::TagNames {
|
||||
|
||||
#define ENUMERATE_SVG_GRAPHICS_TAGS \
|
||||
__ENUMERATE_SVG_TAG(svg) \
|
||||
__ENUMERATE_SVG_TAG(path)
|
||||
__ENUMERATE_SVG_TAG(path) \
|
||||
__ENUMERATE_SVG_TAG(svg)
|
||||
|
||||
#define ENUMERATE_SVG_TAGS \
|
||||
ENUMERATE_SVG_GRAPHICS_TAGS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue