diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2022-12-05 19:31:36 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2022-12-05 19:50:10 +1100 |
| commit | 8980d9a76d68f1b75f104c955aaafb0b0d0d58bc (patch) | |
| tree | cf10c577ec9684239989be858e0a8a1a4c7058b7 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | e72ea1dc376e9c302c68faefafd967a8a7ef255a (diff) | |
| download | rust-8980d9a76d68f1b75f104c955aaafb0b0d0d58bc.tar.gz rust-8980d9a76d68f1b75f104c955aaafb0b0d0d58bc.zip | |
Remove `{Early,Late}LintPassObjects`.
`EarlyContextAndPass` wraps a single early lint pass. We aggregate multiple passes into that single pass by using `EarlyLintPassObjects`. This commit removes `EarlyLintPassObjects` by changing `EarlyContextAndPass` into `EarlyContextAndPasses`. I.e. it just removes a level of indirection. This makes the code simpler and slightly faster. The commit does likewise for late lints.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
