rustc: Fix long lines
This commit is contained in:
parent
bdb8f6cf52
commit
daaeac56b1
@ -738,8 +738,8 @@ fn GEP_tup_like(bcx: @block_ctxt, t: ty::t, base: ValueRef, ixs: [int])
|
||||
|
||||
// Replacement for the LLVM 'GEP' instruction when field indexing into a enum.
|
||||
// This function uses GEP_tup_like() above and automatically performs casts as
|
||||
// appropriate. @llblobptr is the data part of a enum value; its actual type is
|
||||
// meaningless, as it will be cast away.
|
||||
// appropriate. @llblobptr is the data part of a enum value; its actual type
|
||||
// is meaningless, as it will be cast away.
|
||||
fn GEP_tag(cx: @block_ctxt, llblobptr: ValueRef, tag_id: ast::def_id,
|
||||
variant_id: ast::def_id, ty_substs: [ty::t],
|
||||
ix: uint) : valid_variant_index(ix, cx, tag_id, variant_id) ->
|
||||
|
@ -16,7 +16,8 @@ import syntax::print::pprust::pat_to_str;
|
||||
|
||||
import trans_common::*;
|
||||
|
||||
// An option identifying a branch (either a literal, a enum variant or a range)
|
||||
// An option identifying a branch (either a literal, a enum variant or a
|
||||
// range)
|
||||
enum opt {
|
||||
lit(@ast::expr);
|
||||
var(/* disr val */int, /* variant dids */{tg: def_id, var: def_id});
|
||||
|
@ -68,8 +68,8 @@ enum crate_directive_ {
|
||||
|
||||
// NB: cdir_view_item is *not* processed by the rest of the compiler; the
|
||||
// attached view_items are sunk into the crate's module during parsing,
|
||||
// and processed (resolved, imported, etc.) there. This enum-variant exists
|
||||
// only to preserve the view items in order in case we decide to
|
||||
// and processed (resolved, imported, etc.) there. This enum-variant
|
||||
// exists only to preserve the view items in order in case we decide to
|
||||
// pretty-print crates in the future.
|
||||
cdir_view_item(@view_item);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user