Modules§
- get_mir
- Various utilities to load MIR. Allow to easily load the MIR code generated by a specific pass.
- resolve_
path - Machinery to resolve a string path into a
DefId
. Based onclippy_utils::def_path_res
. - translate_
bodies - Translate functions from the rust compiler MIR to our internal representation. Our internal representation is very close to MIR, but is more convenient for us to handle, and easier to maintain - rustc’s representation can evolve independently.
- translate_
closures - In rust, closures behave like ADTs that implement the FnOnce/FnMut/Fn traits automatically.
- translate_
constants - Functions to translate constants to LLBC.
- translate_
crate - This file governs the overall translation of items.
- translate_
ctx - The translation contexts.
- translate_
drops - translate_
functions - Translate functions from the rust compiler MIR to our internal representation. Our internal representation is very close to MIR, but is more convenient for us to handle, and easier to maintain - rustc’s representation can evolve independently.
- translate_
generics - translate_
items - translate_
meta - Translate information about items: name, attributes, etc.
- translate_
predicates - translate_
trait_ objects - translate_
types