ladybird/Userland/Libraries/LibRegex
Linus Groh 939da41fa1 LibRegex: Fix compilation errors on my host machine
I have no idea *why*, but this stopped working suddenly:

    return { { .code_point = '-', .is_character_class = false } };

Fails with:

    error: could not convert ‘{{'-', false}}’ from
    ‘<brace-enclosed initializer list>’ to
    ‘AK::Optional<regex::CharClassRangeElement>

Might be related to 66f15c2 somehow, going one past that commit makes
the build work again, however reverting the commit doesn't. Not sure
what's up with that.

Consider this patch a band-aid until we can find the reason and an
actual fix...

Compiler version:
gcc (GCC) 11.1.1 20210531 (Red Hat 11.1.1-3)
2021-06-06 09:26:07 +01:00
..
C Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
CMakeLists.txt Tests: Move LibRegex tests to Tests/LibRegex 2021-05-06 17:54:28 +02:00
Forward.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Regex.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
RegexByteCode.cpp Everywhere: Replace ctype.h to avoid narrowing conversions 2021-06-03 13:31:46 +02:00
RegexByteCode.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
RegexDebug.h LibRegex: Replace fprintf()/printf() with warnln()/outln()/dbgln() 2021-05-31 17:43:54 +01:00
RegexError.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
RegexLexer.cpp LibRegex: Replace fprintf()/printf() with warnln()/outln()/dbgln() 2021-05-31 17:43:54 +01:00
RegexLexer.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
RegexMatch.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
RegexMatcher.cpp LibRegex: Replace fprintf()/printf() with warnln()/outln()/dbgln() 2021-05-31 17:43:54 +01:00
RegexMatcher.h Revert "Userland: static vs non-static constexpr variables" 2021-05-21 10:30:52 +01:00
RegexOptions.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
RegexParser.cpp LibRegex: Fix compilation errors on my host machine 2021-06-06 09:26:07 +01:00
RegexParser.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00