mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-29 02:57:17 +02:00
Everywhere: Debug macros instead of constexpr.
This was done with the following script:
find . \( -name '*.cpp' -o -name '*.h' -o -name '*.in' \) -not -path './Toolchain/*' -not -path './Build/*' -exec sed -i -E 's/dbgln<debug_([a-z_]+)>/dbgln<\U\1_DEBUG>/' {} \;
find . \( -name '*.cpp' -o -name '*.h' -o -name '*.in' \) -not -path './Toolchain/*' -not -path './Build/*' -exec sed -i -E 's/if constexpr \(debug_([a-z0-9_]+)/if constexpr \(\U\1_DEBUG/' {} \;
This commit is contained in:
Notes:
sideshowbarker
2024-07-18 22:52:47 +09:00
Author: https://github.com/asynts Commit: https://github.com/SerenityOS/serenity/commit/8465683dcf1 Pull-request: https://github.com/SerenityOS/serenity/pull/5092
@@ -406,7 +406,7 @@ int main(int argc, char** argv)
|
||||
interface->fully_qualified_name = interface->name;
|
||||
}
|
||||
|
||||
if constexpr (debug_wrapper_generator) {
|
||||
if constexpr (WRAPPER_GENERATOR_DEBUG) {
|
||||
dbgln("Attributes:");
|
||||
for (auto& attribute : interface->attributes) {
|
||||
dbgln(" {}{}{} {}",
|
||||
|
||||
Reference in New Issue
Block a user