Skip to content

Commit d8b4dd2

Browse files
committed
refactor(fe): delete unused functions
1 parent 485faa1 commit d8b4dd2

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

src/quick-lint-js/fe/linter.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,6 @@
1414
#include <quick-lint-js/port/unreachable.h>
1515

1616
namespace quick_lint_js {
17-
bool operator==(Linter_Options lhs, Linter_Options rhs) {
18-
return lhs.language == rhs.language &&
19-
lhs.print_parser_visits == rhs.print_parser_visits;
20-
}
21-
22-
bool operator!=(Linter_Options lhs, Linter_Options rhs) {
23-
return !(lhs == rhs);
24-
}
25-
2617
void parse_and_lint(Padded_String_View code, Diag_Reporter& reporter,
2718
const Global_Declared_Variable_Set& globals,
2819
Linter_Options options) {

src/quick-lint-js/fe/linter.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ struct Linter_Options {
1616

1717
// If true, print a human-readable representation of parser visits to stderr.
1818
bool print_parser_visits = false;
19-
20-
friend bool operator==(Linter_Options, Linter_Options);
21-
friend bool operator!=(Linter_Options, Linter_Options);
2219
};
2320

2421
void parse_and_lint(Padded_String_View code, Diag_Reporter&,

0 commit comments

Comments
 (0)