about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2023-02-07 16:59:50 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2023-02-09 16:14:51 +1100
commit243944c6535867f2d4e3bc44f4a8b0e300dc83b9 (patch)
tree4f2e8ec178049f4ebec7f03338783ca103dc7074 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parentafbe167fbb683fc1ed1c7577ab2eaa12cc44a6bf (diff)
downloadrust-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