mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2026-06-18 07:43:37 +00:00
Enable -Wexit-time-destructors for all in-tree library targets and update process-lifetime library statics so they no longer register exit-time destructors. Long-lived caches, lookup tables, singleton registries, and generated constants now use NeverDestroyed or leaked references where the data is intended to live until process exit. Update LibWeb, LibLine, and the binding generators so regenerated sources follow the same rule instead of reintroducing destructed statics.
16 lines
440 B
C++
16 lines
440 B
C++
/*
|
|
* Copyright (c) 2023, Luke Wilde <lukew@serenityos.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#include <LibWeb/HTML/CustomElements/CustomElementReactionNames.h>
|
|
|
|
namespace Web::HTML::CustomElementReactionNames {
|
|
|
|
#define __ENUMERATE_CUSTOM_ELEMENT_REACTION_NAME(name) \
|
|
FlyString const& name = *new FlyString(#name##_fly_string);
|
|
ENUMERATE_CUSTOM_ELEMENT_REACTION_NAMES
|
|
#undef __ENUMERATE_CUSTOM_ELEMENT_REACTION_NAME
|
|
|
|
}
|