ladybird/Userland/Libraries/LibJS
Daniel Bertalan 4296425bd8 Everywhere: Remove redundant inequality comparison operators
C++20 can automatically synthesize `operator!=` from `operator==`, so
there is no point in writing such functions by hand if all they do is
call through to `operator==`.

This fixes a compile error with compilers that implement P2468 (Clang
16 currently). This paper restores the C++17 behavior that if both
`T::operator==(U)` and `T::operator!=(U)` exist, `U == T` won't be
rewritten in reverse to call `T::operator==(U)`. Removing `!=` operators
makes the rewriting possible again.
See https://reviews.llvm.org/D134529#3853062
2022-11-06 10:25:08 -07:00
..
Bytecode LibJS: Disable bytecode optimizations again 2022-11-01 11:44:41 +01:00
Contrib/Test262
Heap LibJS: Only use 1 bit for Cell boolean flag 2022-10-24 19:37:36 +02:00
Runtime Everywhere: Remove redundant inequality comparison operators 2022-11-06 10:25:08 -07:00
Tests LibJS: Use more accurate number-to-string method in Number toExponential 2022-11-04 21:12:10 +00:00
AST.cpp
AST.h
CMakeLists.txt Everywhere: Mark dependencies of most targets as PRIVATE 2022-11-01 14:49:09 +00:00
Console.cpp
Console.h
CyclicModule.cpp
CyclicModule.h
Forward.h
Interpreter.cpp
Interpreter.h
Lexer.cpp
Lexer.h
MarkupGenerator.cpp
MarkupGenerator.h
Module.cpp
Module.h
Parser.cpp
Parser.h AK+Everywhere: Turn bool keep_empty to an enum in split* functions 2022-10-24 23:29:18 +01:00
SafeFunction.h
Script.cpp
Script.h
SourceRange.h
SourceTextModule.cpp
SourceTextModule.h
SyntaxHighlighter.cpp
SyntaxHighlighter.h
SyntheticModule.cpp
SyntheticModule.h
Token.cpp
Token.h