about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-02-07 15:23:23 +0000
committerbors <bors@rust-lang.org>2022-02-07 15:23:23 +0000
commit3d43826e32a76c86eca768481a08dec434cd28e8 (patch)
treefb8b9bbc2765a6fc9ac1ef9aa5485fa87f555b2f /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent8dc719cb39efe7c16aea0b460173678429a90e8d (diff)
parentbd583d91a1bf3717f724a38531e142aa4a9ee6cc (diff)
downloadrust-3d43826e32a76c86eca768481a08dec434cd28e8.tar.gz
rust-3d43826e32a76c86eca768481a08dec434cd28e8.zip
Auto merge of #8305 - camsteffen:util-cleanup, r=flip1995
Factor out several utils, add `path_def_id`

changelog: none

This is generally an effort to reduce the total number of utils. `path_def_id` is added which I believe is more "cross-cutting" and also complements `path_to_local`. Best reviewed one commit at a time.

Added:
* `path_def_id`
* `path_res`

Removed:
 * `is_qpath_def_path`
 * `match_any_diagnostic_items`
 * `expr_path_res`
 * `single_segment_path`
 * `differing_macro_contexts`
 * `is_ty_param_lang_item`
 * `is_ty_param_diagnostic_item`
 * `get_qpath_generics`

Renamed:
* `path_to_res` to `def_path_res`
* `get_qpath_generic_tys` to `qpath_generic_tys`

CC `@Jarcho` since this relates to some of your work and you may have input.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions