about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-07-22 20:35:31 +0000
committerbors <bors@rust-lang.org>2022-07-22 20:35:31 +0000
commitd469e0de9acc38b2e63796fb105369e567773cfb (patch)
tree3d8865389fe0dd636eaf226044cdfb5b671a50aa /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent7e30ca1f2a3782246a530bc279eb3df1c3048d37 (diff)
parent0081ef383489679e491d99a1978ded16e06906d3 (diff)
downloadrust-d469e0de9acc38b2e63796fb105369e567773cfb.tar.gz
rust-d469e0de9acc38b2e63796fb105369e567773cfb.zip
Auto merge of #12840 - Veykril:be-lazy, r=Veykril
internal: Use ItemTree for variant, field and module attribute collection in attrs_query

Less parsing = very good, should speed up lang item collection as that basically probes attributes of all enum variants which currently triggers parsing

Not fond of how this is searching for the correct index, ideally we'd map between HIR and item tree Id here but I am not sure how, storing the item tree ids in the HIR version doesn't work due to the usage of `Trace`...
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions