ladybird/Meta/Lagom/Tools/CodeGenerators/LibWeb
Daniel Bertalan c62240aa80 Everywhere: Warn on function definitions without prototypes
If no header includes the prototype of a function, then it cannot be
used from outside the translation unit it was defined in. In that case,
it should be marked as `static`, in order to avoid possible ODR
problems, unnecessary exported symbols, and allow the compiler to better
optimize those.

If this warning triggers in a function defined in a header, `inline`
needs to be added, otherwise if the header is included in more than one
TU, it will fail to link with a duplicate definition error.

The reason this diff got so big is that Lagom-only code wasn't built
with this flag even in Serenity times.
2024-07-17 21:51:29 +02:00
..
BindingsGenerator Everywhere: Warn on function definitions without prototypes 2024-07-17 21:51:29 +02:00
CMakeLists.txt Meta: Remove GenerateCSSEasingFunctions 2024-06-16 07:12:46 +02:00
GenerateAriaRoles.cpp Everywhere: Warn on function definitions without prototypes 2024-07-17 21:51:29 +02:00
GenerateCSSEnums.cpp Everywhere: Add deprecated_ prefix to JsonValue::to_byte_string 2024-01-12 17:41:34 -07:00
GenerateCSSMathFunctions.cpp Everywhere: Warn on function definitions without prototypes 2024-07-17 21:51:29 +02:00
GenerateCSSMediaFeatureID.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
GenerateCSSPropertyID.cpp LibWeb: Generate a method to get camel-cased CSS property names 2024-06-03 10:53:32 +02:00
GenerateCSSPseudoClass.cpp LibWeb: Implement the :has() pseudo-class 2024-07-15 11:52:03 +01:00
GenerateCSSTransformFunctions.cpp Everywhere: Add deprecated_ prefix to JsonValue::to_byte_string 2024-01-12 17:41:34 -07:00
GenerateCSSValueID.cpp Everywhere: Add deprecated_ prefix to JsonValue::to_byte_string 2024-01-12 17:41:34 -07:00
GenerateWindowOrWorkerInterfaces.cpp LibWeb: Create separate DedicatedWorkerGlobalScope class 2024-07-10 07:04:53 +02:00
GeneratorUtil.h Everywhere: Warn on function definitions without prototypes 2024-07-17 21:51:29 +02:00