rustc_codegen_llvm: fix tidy errors.
This commit is contained in:
parent
ba006440ee
commit
265f2fa4de
10 changed files with 77 additions and 24 deletions
|
|
@ -43,8 +43,11 @@ impl MirDebugScope<'ll> {
|
|||
|
||||
/// Produce DIScope DIEs for each MIR Scope which has variables defined in it.
|
||||
/// If debuginfo is disabled, the returned vector is empty.
|
||||
pub fn create_mir_scopes(cx: &CodegenCx<'ll, '_>, mir: &Mir, debug_context: &FunctionDebugContext<'ll>)
|
||||
-> IndexVec<SourceScope, MirDebugScope<'ll>> {
|
||||
pub fn create_mir_scopes(
|
||||
cx: &CodegenCx<'ll, '_>,
|
||||
mir: &Mir,
|
||||
debug_context: &FunctionDebugContext<'ll>,
|
||||
) -> IndexVec<SourceScope, MirDebugScope<'ll>> {
|
||||
let null_scope = MirDebugScope {
|
||||
scope_metadata: None,
|
||||
file_start_pos: BytePos(0),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue