File tree Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Original file line number Diff line number Diff line change 14
14
#include < quick-lint-js/port/unreachable.h>
15
15
16
16
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
-
26
17
void parse_and_lint (Padded_String_View code, Diag_Reporter& reporter,
27
18
const Global_Declared_Variable_Set& globals,
28
19
Linter_Options options) {
Original file line number Diff line number Diff line change @@ -16,9 +16,6 @@ struct Linter_Options {
16
16
17
17
// If true, print a human-readable representation of parser visits to stderr.
18
18
bool print_parser_visits = false ;
19
-
20
- friend bool operator ==(Linter_Options, Linter_Options);
21
- friend bool operator !=(Linter_Options, Linter_Options);
22
19
};
23
20
24
21
void parse_and_lint (Padded_String_View code, Diag_Reporter&,
You can’t perform that action at this time.
0 commit comments