diff options
author | Jeremy Rifkin <51220084+jeremy-rifkin@users.noreply.github.com> | 2023-02-23 17:16:17 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-23 17:16:17 -0500 |
commit | 2b06c69111e1dc6b9b8d3c89764b78c8f050e47a (patch) | |
tree | 4410cd805a7b6aeda7e582d8a8f39a0d038b94d4 /lib/parsers/llvm-pass-dump-parser.ts | |
parent | 6bd5c43f627ee920bdb93a18e7b673b670d88068 (diff) | |
download | compiler-explorer-2b06c69111e1dc6b9b8d3c89764b78c8f050e47a.tar.gz compiler-explorer-2b06c69111e1dc6b9b8d3c89764b78c8f050e47a.zip |
Turn some auto-fixable eslint rules back on (#4766)gh-6434
This PR turns comma-dangle and indent eslint rules on for lib/. These
are rules inherited from the eslint config for static/, this PR just
makes things more consistent. Also turned
@typescript-eslint/no-var-requires back on while I was here.
Diffstat (limited to 'lib/parsers/llvm-pass-dump-parser.ts')
-rw-r--r-- | lib/parsers/llvm-pass-dump-parser.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/parsers/llvm-pass-dump-parser.ts b/lib/parsers/llvm-pass-dump-parser.ts index fc8fe2099..5896e1ada 100644 --- a/lib/parsers/llvm-pass-dump-parser.ts +++ b/lib/parsers/llvm-pass-dump-parser.ts @@ -321,7 +321,7 @@ export class LlvmPassDumpParser { affectedFunction: fn, machine, lines, - }), + }) ); previousFunction = fn; } else { @@ -370,7 +370,7 @@ export class LlvmPassDumpParser { passesMatch(current_dump.header, next_dump.header), '', current_dump.header, - next_dump.header, + next_dump.header ); assert(current_dump.machine === next_dump.machine); pass.name = current_dump.header.slice('IR Dump Before '.length); @@ -470,11 +470,11 @@ export class LlvmPassDumpParser { process( output: ResultLine[], _: ParseFiltersAndOutputOptions, - llvmOptPipelineOptions: LLVMOptPipelineBackendOptions, + llvmOptPipelineOptions: LLVMOptPipelineBackendOptions ) { // Crop out any junk before the pass dumps (e.g. warnings) const ir = output.slice( - output.findIndex(line => line.text.match(this.irDumpHeader) || line.text.match(this.machineCodeDumpHeader)), + output.findIndex(line => line.text.match(this.irDumpHeader) || line.text.match(this.machineCodeDumpHeader)) ); const preprocessed_lines = this.applyIrFilters(ir, llvmOptPipelineOptions); return this.breakdownOutput(preprocessed_lines, llvmOptPipelineOptions); |