summaryrefslogtreecommitdiff
path: root/src/hir_expand/closures.cpp
AgeCommit message (Collapse)AuthorFilesLines
2019-11-03HIR Expand Closures - Move closure prefix to a common locationJohn Hodge1-3/+3
2019-10-26Expand HIR Closures - Avoid mutating module contents during iterationJohn Hodge1-16/+32
2019-10-11HIR Expand Closures - Copy if all captures are CopyJohn Hodge1-11/+7
2019-10-10HIR Expand Closures - Set source module in Copy implJohn Hodge1-1/+1
2019-10-08HIR Expand Closures - Impl Copy for Borrow/no-capture closuresJohn Hodge1-5/+36
2019-07-20HIR Expand Closures - Better namingJohn Hodge1-8/+14
2019-06-22HIR - Wrap impls in unique_ptr to keep pointer stability hackJohn Hodge1-5/+5
2019-06-09HIR - Sort trait impls tooJohn Hodge1-6/+8
2019-06-04HIR - Use maps-of-vectors for impl lists for faster lookup, optimise ↵John Hodge1-58/+45
Trans_Enumerate
2019-05-19All - Switch to using interned (de-duplicated) RcString-s instead of ↵John Hodge1-13/+13
std::string for paths/identifiers
2019-05-05HIR Expand Closures - Run on constantsJohn Hodge1-2/+69
2019-04-25HIR - Add more complete privacy handling (allowing for autoderef to skip ↵John Hodge1-4/+4
private fields)
2019-03-02HIR Expand Closures - Rename closures to include a #, fix minor bugJohn Hodge1-2/+4
2019-03-02HIR Expand Closures - Cast/coerce closure to fn()John Hodge1-11/+173
2019-01-20HIR Expand Closures - Ensure opaque tagging of UfcsKnownJohn Hodge1-5/+28
2019-01-05HIR - Visit result typeJohn Hodge1-0/+1
2018-09-22All - Generate MIR for constant evaluation (has too many const_cast calls, ↵John Hodge1-0/+5
but it's less ugly) - Also includes some MIR optimisation changes to reduce some compile times (hopefully) - Removed duplicated MIR consteval and now-unused HIR consteval
2018-06-02All - Warning cleanup when built with clangJohn Hodge1-1/+1
2017-11-01HIR - Refactor enums to only embed a single field (and give variants types)John Hodge1-8/+11
2017-09-06HIR Expand - Reborrow in `box`John Hodge1-0/+2
2017-06-04Merge branch 'master' of https://github.com/thepowersgang/mrustcJohn Hodge (bugs)1-0/+1
2017-06-03HIR Typecheck - Validate traits after typecheckJohn Hodge1-0/+1
2017-03-04Many many changes to allow compiling in visual studio (Community 2015)John Hodge (bugs)1-3/+3
2017-01-11All - Enable library codegen (and use crate name everywhere)John Hodge1-5/+5
2016-12-24No more tears!ubsan1-95/+95
No more DOS line endings or trailing whitespace either
2016-12-24HIR Expand Closures - Handle closures called from other closuresJohn Hodge1-8/+26
2016-12-23HIR Expand Closures - Place move closure handling to before upwards propagationJohn Hodge1-11/+8
2016-12-18HIR - Move closuresJohn Hodge1-2/+10
2016-12-15HIR - Linkage anntation (un-populated)John Hodge1-0/+3
2016-12-04HIR - Construct vtablesJohn Hodge1-0/+3
2016-12-04HIR Expand Closures - Don't emit `Self` in parametersJohn Hodge1-7/+18
2016-11-26HIR Annotate - Fix annotation on CallValue argumentsJohn Hodge1-0/+2
2016-11-25HIR Expand - Fix usage annotations for _CallValueJohn Hodge1-1/+8
2016-11-22HIR Expand Closures - Better expand of closure types in capturesJohn Hodge1-1/+2
2016-11-20HIR Expand Closures - Reborrow &mut variablesJohn Hodge1-2/+10
2016-11-20HIR Expand Closures - Handle box patterns (simply)John Hodge1-1/+1
2016-11-20HIR Expr - Pass span to visit_patternJohn Hodge1-7/+7
2016-11-18HIR Expand ErasedType - Replace non-local erased types in return typesJohn Hodge1-2/+26
2016-11-18HIR Expand Closures - Fix types in args/return typesJohn Hodge1-0/+4
2016-11-18HIR Typecheck Validate - Fix some small bugs, start on ErasedType supportJohn Hodge1-0/+3
2016-11-18HIR Expand Closures - Replace closure types in root node resultJohn Hodge1-0/+1
2016-10-23HIR Expand Closures - use real type instead of Self in argsJohn Hodge1-4/+8
2016-10-12Make deault ABI a #defineJohn Hodge1-3/+3
2016-10-12HIR Expand Closures - Use a different name for closures from impl blocksJohn Hodge1-1/+1
2016-10-10HIR Expand Closures - Fix lack of replacement in bindingsJohn Hodge1-1/+1
2016-10-10HIR Expand Closures - Avoid bad monomorphisationsJohn Hodge1-2/+6
2016-10-10HIR Expand - Fix monomorphising of closure typesJohn Hodge1-12/+24
2016-10-08HIR Closures - Rework to correctly support borrow typesJohn Hodge1-40/+113
2016-10-05HIR Expand Closures - Propagate value usage for replaced variablesJohn Hodge1-0/+1
2016-10-01(minor) Add TODO regarding by-borrow closure capturesJohn Hodge1-0/+1