rust/compiler/rustc_codegen_llvm/src/debuginfo
Matthias Krüger 1ae0d90b72
Rollup merge of #124797 - beetrees:primitive-float, r=davidtwco
Refactor float `Primitive`s to a separate `Float` type

Now there are 4 of them, it makes sense to refactor `F16`, `F32`, `F64` and `F128` out of `Primitive` and into a separate `Float` type (like integers already are). This allows patterns like `F16 | F32 | F64 | F128` to be simplified into `Float(_)`, and is consistent with `ty::FloatTy`.

As a side effect, this PR also makes the `Ty::primitive_size` method work with `f16` and `f128`.

Tracking issue: #116909

`@rustbot` label +F-f16_and_f128
2024-05-10 16:10:46 +02:00
..
metadata Refactor float Primitives to a separate Float type 2024-05-06 14:56:10 +01:00
create_scope_map.rs Format all the let chains in compiler 2023-10-13 08:59:36 +00:00
doc.md fix most compiler/ doctests 2022-05-02 17:40:30 -07:00
gdb.rs compiler: replace cstr macro with c str literals in compiler and few other c str replacements 2023-12-03 14:54:09 +03:00
metadata.rs Rename Generics::params to Generics::own_params 2024-05-09 20:58:46 -04:00
mod.rs Rename Generics::params to Generics::own_params 2024-05-09 20:58:46 -04:00
namespace.rs Set capacity of the string passed to push_item_name. 2023-06-29 11:46:25 +10:00
utils.rs inline format!() args up to and including rustc_codegen_llvm 2023-07-30 14:22:50 +02:00