1
Fork 0
rust/compiler/rustc_codegen_ssa/src
Ralf Jung 02d787bef8
Rollup merge of #76872 - khyperia:remove_declare_methods, r=eddyb
Remove DeclareMethods

Most of the `DeclareMethods` API was only used internally by rustc_codegen_llvm. As such, it makes no sense to require other backends to implement them.

(`get_declared_value` and `declare_cfn` were used, in one place, specific to the `main` symbol, which I've replaced with a more specialized function to allow more flexibility in implementation - the intent is that `declare_c_main` can go away once we do something more clever, e.g. @eddyb has ideas around having a MIR shim or somesuch we can explore in a follow-up PR)
2020-09-21 10:40:35 +02:00
..
back use push(char) instead of push_str(&str) to add single chars to strings 2020-09-10 13:58:41 +02:00
coverageinfo mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
debuginfo use push(char) instead of push_str(&str) to add single chars to strings 2020-09-10 13:58:41 +02:00
mir Auto merge of #76964 - RalfJung:rollup-ybn06fs, r=RalfJung 2020-09-20 11:02:36 +00:00
traits Rollup merge of #76872 - khyperia:remove_declare_methods, r=eddyb 2020-09-21 10:40:35 +02:00
base.rs Remove DeclareMethods 2020-09-18 13:11:59 +02:00
common.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
glue.rs Change ty.kind to a method 2020-09-04 17:47:51 +02:00
lib.rs Remove redundant #![feature(...)] 's from compiler/ 2020-09-17 07:58:45 +02:00
meth.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
mono_item.rs ty: remove obsolete printer 2020-08-30 18:59:07 +01:00