// 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) ->
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});
// 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);