Skip to main content

encode_const_value

Function encode_const_value 

Source
fn encode_const_value<'tcx>(
    tcx: TyCtxt<'tcx>,
    cv: Value<'tcx>,
    dict: &mut FxHashMap<DictKey<'tcx>, usize>,
    options: TypeIdOptions,
) -> String
Expand description

Encodes a const value using the Itanium C++ ABI as the element value of a literal argument (see https://itanium-cxx-abi.github.io/cxx-abi/abi.html#mangling.literal).