summary refs log tree commit diff
path: root/src/librustc_passes
AgeCommit message (Expand)AuthorLines
2020-05-29liveness: Warn about unused captured variablesTomasz Miąsko-54/+170
2020-05-29liveness: Include upvars in the analysisTomasz Miąsko-36/+33
2020-05-29liveness: Remove unused fallthrough_lnTomasz Miąsko-9/+1
2020-05-29liveness: Remove unused clean_exit_varTomasz Miąsko-14/+1
2020-05-29liveness: Log information about used variablesTomasz Miąsko-5/+8
2020-05-26Rollup merge of #72581 - samrat:allow-desugared-break-in-labeled-block, r=dav...Dylan DPC-1/+2
2020-05-26Allow unlabeled breaks from desugared `?` in labeled blocksSamrat Man Singh-1/+2
2020-05-25Rollup merge of #72544 - sexxi-goose:upvars_mentioned, r=matthewjasperRalf Jung-7/+7
2020-05-25Rollup merge of #72537 - Amanieu:fix-asm-liveness, r=petrochenkovRalf Jung-8/+2
2020-05-24librustc_middle: Rename upvars query to upvars_mentionedAman Arora-7/+7
2020-05-24Fix InlineAsmOperand expresions being visited twice during liveness checkingAmanieu d'Antras-8/+2
2020-05-22Use `OnceCell` instead of `Once`Dylan MacKenzie-3/+3
2020-05-18Move InlineAsmTemplatePiece and InlineAsmOptions to librustc_astAmanieu d'Antras-3/+3
2020-05-18Add support for high byte registers on x86Amanieu d'Antras-13/+11
2020-05-18Apply review feedbackAmanieu d'Antras-3/+14
2020-05-18HIR passes for asm!Amanieu d'Antras-13/+363
2020-05-11Fix clippy warningsMatthias Krüger-3/+3
2020-05-09Rollup merge of #71555 - cjgillot:nameless, r=matthewjasperRalf Jung-7/+6
2020-05-09Rollup merge of #71947 - mibac138:dead-code, r=cramertjDylan DPC-2/+12
2020-05-08Remove ast::{Ident, Name} reexports.Camille GILLOT-7/+6
2020-05-07Use `hir::ConstContext` instead of local enumsDylan MacKenzie-48/+7
2020-05-06Dead-code pass highlights too much of impl functionsmibac138-2/+12
2020-05-02Rollup merge of #71777 - petrochenkov:crtype, r=Mark-SimulacrumDylan DPC-17/+15
2020-05-02cleanup: `config::CrateType` -> `CrateType`Vadim Petrochenkov-17/+15
2020-05-01Mark query function as must_use.Camille GILLOT-2/+2
2020-05-01Auto merge of #70674 - cjgillot:query-arena-all, r=matthewjasperbors-8/+8
2020-04-30Rollup merge of #71205 - NeoRaider:check_attr, r=jonas-schievinkDylan DPC-1/+4
2020-04-28Move a few queries to using an arena.Camille GILLOT-1/+1
2020-04-28Use the query system to allocate.Camille GILLOT-7/+7
2020-04-27Change return type of `entry_fn` query to return a `LocalDefId`marmeladema-9/+11
2020-04-27Use `LocalDefId` in `typeck_tables_of` and `used_trait_imports` queriesmarmeladema-4/+4
2020-04-26Rollup merge of #70043 - mark-i-m:def-kind-more, r=eddybDylan DPC-36/+20
2020-04-24Avoid unused Option::map resultsJosh Stone-1/+3
2020-04-24fix a couple more uses of def_kindmark-2/+2
2020-04-24Remove redundant `descr`/`descriptive_variant` methods from HIR.Eduard-Mihai Burtescu-36/+20
2020-04-23Address comments from reviewmarmeladema-3/+2
2020-04-23Modify `as_local_hir_id` to return a bare `HirId`marmeladema-23/+15
2020-04-23Modify `as_local_hir_id` to accept a `LocalDefId` instead of a `DefId`marmeladema-15/+24
2020-04-23librustc_middle: return LocalDefId instead of DefId in local_def_idmarmeladema-14/+14
2020-04-20Remove unused dependenciesShotaro Yamada-2/+0
2020-04-19Auto merge of #71331 - Dylan-DPC:rollup-5rn1isc, r=Dylan-DPCbors-1/+3
2020-04-19Dogfood more or_patterns in the compilerJosh Stone-19/+21
2020-04-19Fix false "never constructed" warnings for `Self::` variant pathsseiya-1/+3
2020-04-17Rollup merge of #69642 - ecstatic-morse:issue-69615, r=oli-obkDylan DPC-7/+7
2020-04-16rustc: fix check_attr() for methods, closures and foreign functionsMatthias Schiffer-1/+4
2020-04-16don't clone types that are copy (clippy::clone_on_copy)Matthias Krüger-1/+1
2020-04-14Remove `DUMMY_HIR_ID`marmeladema-10/+0
2020-04-12Rollup merge of #71069 - marmeladema:dummy-hir-id-obligation-clause, r=eddybDylan DPC-11/+10
2020-04-12Rollup merge of #67766 - sapir:fix-unused-in-or-pattern-warning, r=matthewjasperDylan DPC-26/+49
2020-04-12Remove usage of `DUMMY_HIR_ID` in `CheckAttrVisitor::check_inline`marmeladema-3/+2