summaryrefslogtreecommitdiff
path: root/src/hir_expand/closures.cpp
AgeCommit message (Expand)AuthorFilesLines
2016-12-24No more tears!ubsan1-95/+95
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
2016-09-29HIR - Add variadic marking to functions, and propagate unsafe/const markingsJohn Hodge1-3/+3
2016-09-19HIR Expand Closures - Fix bad typesJohn Hodge1-3/+31
2016-08-26HIR Expand Closures - Eliminate closure types!John Hodge1-2/+80
2016-08-25HIR Expand Closures - Stable closure namesJohn Hodge1-13/+16
2016-08-24HIR Expand Closures - Fix mangling of destructured argumentsJohn Hodge1-4/+3
2016-08-24HIR Expand Closures - Bind closure typeJohn Hodge1-24/+34
2016-08-23HIR Typecheck - Require span for type_is_copyJohn Hodge1-9/+4
2016-08-22AST+HIR - Save decoded receiver type for methodsJohn Hodge1-0/+3
2016-08-21HIR Expand - Fix closure conversionJohn Hodge1-7/+25
2016-08-19Patterns - Support tuples with .. (fully)John Hodge1-1/+7
2016-08-18All - Support tuple patterns with .. at the start/end - TODO: Support in the ...John Hodge1-5/+1
2016-08-17HIR - Correct closure desugaring (leads to two equivalent types)John Hodge1-11/+41
2016-08-17HIR Typecheck Static - Replace types with definitive versionsJohn Hodge1-1/+1
2016-08-16HIR Expand Closures - Clone boundsJohn Hodge1-0/+23
2016-08-15HIR Typecheck Validate - Extra checks and fixes exposed by themJohn Hodge1-1/+1
2016-08-14HIR Expand Closures - Fix `_` type in generated FnMut for FnJohn Hodge1-1/+2
2016-08-14HIR Expand - Work on doing Deref desugarJohn Hodge1-73/+1
2016-08-14HIR - Move borrow ops to their own node typeJohn Hodge1-3/+3
2016-08-14HIR Expand Closures - Use the value annotations instead of local codeJohn Hodge1-56/+9
2016-08-14HIR Expand - Add annotation passJohn Hodge1-11/+1
2016-08-14HIR Expand Closures - Store local binding typesJohn Hodge1-16/+50
2016-08-12HIR Patterns - Support binding Value::Named to targetsJohn Hodge1-0/+2
2016-08-11HIR - Store path to closure object for MIR generationJohn Hodge1-5/+23
2016-08-11All - Clang warning fixesJohn Hodge1-7/+9