diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-02-07 16:59:50 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-02-09 16:14:51 +1100 |
| commit | 243944c6535867f2d4e3bc44f4a8b0e300dc83b9 (patch) | |
| tree | 4f2e8ec178049f4ebec7f03338783ca103dc7074 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | |
| parent | afbe167fbb683fc1ed1c7577ab2eaa12cc44a6bf (diff) | |
| download | rust-243944c6535867f2d4e3bc44f4a8b0e300dc83b9.tar.gz rust-243944c6535867f2d4e3bc44f4a8b0e300dc83b9.zip | |
Remove `QueryContext`.
There is a type `QueryCtxt`, which impls the trait `QueryContext`. Confusingly, there is another type `QueryContext`. The latter is (like `TyCtxt`) just a pointer to a `GlobalContext`. It's not used much, e.g. its `impl` block has a single method. This commit removes `QueryContext`, replacing its use with direct `GlobalCtxt` use.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
