summaryrefslogtreecommitdiff
path: root/src/expand/derive.cpp
AgeCommit message (Expand)AuthorFilesLines
2019-10-26Merge remote-tracking branch 'remotes/origin/master' into nightly-1.29John Hodge1-0/+1
2019-10-06Expand - Pass attributes on struct/union/enums to custom derive codeJohn Hodge1-5/+6
2019-10-06Expand - Hand attributes to item attribute handlersJohn Hodge1-1/+1
2019-10-06AST - Clean up location of attributes and span on mod-level itemsJohn Hodge1-11/+11
2019-05-25Derive - Fix incorrect copy-paste during previous refactorJohn Hodge1-1/+1
2019-05-24Expand derive - Code cleanupJohn Hodge1-227/+190
2019-05-19All - Switch to using interned (de-duplicated) RcString-s instead of std::str...John Hodge1-134/+142
2019-03-01Expand - Use discriminant_value to reduce size of auto-generated matchesJohn Hodge1-88/+26
2018-12-29Resolve/HIR - Rough handling of `pub use macro_path;`John Hodge1-3/+3
2018-11-29Mark destructors in base classes as virtual.Arlie Davis1-0/+1
2018-06-24Expand derive - Slight restructure to allow Copy/Clone magicJohn Hodge1-102/+123
2018-06-02AST - Annotate all patterns with spansJohn Hodge1-114/+114
2018-05-22AST - Add lifetime params to & typesJohn Hodge1-16/+16
2018-05-20AST - Refactor lifetime/HRB handlingJohn Hodge1-14/+11
2018-05-20AST - Rename MetaItem and MetaItems to Attribute and AttributeListJohn Hodge1-13/+13
2017-11-15proc_macro - Working invocations (some work needed on AST->TT)John Hodge1-2/+8
2017-11-12Expand derive - Mark success if a proc_macro appliedJohn Hodge1-0/+5
2017-11-12All - proc_macro support through to attempting to run themJohn Hodge1-1/+1
2017-11-12src - Add draft (untested) support for procedural macro cratesJohn Hodge1-6/+24
2017-11-04Expand/derive - Deref in PartialOrd calls (slight optimisation of typecheck)John Hodge1-4/+4
2017-10-31Expand - (minor) Comment about custom deriveJohn Hodge1-0/+3
2017-09-14Expand - Limited derive on unions (minimally tested, fixes #22)John Hodge1-26/+86
2017-09-05Derive RustcDecodable - Fix unit struct decodeJohn Hodge1-1/+1
2017-09-02Resolve - Fix a minor lookup bug around self:: pathsJohn Hodge1-0/+2
2017-07-16AST - Attributes on struct literal entriesJohn Hodge1-12/+12
2017-05-28AST - Refactor to make unit-like structs their own variantJohn Hodge1-22/+43
2017-02-26Expand derive - Debug for enumsJohn Hodge1-18/+31
2017-01-05Expand derive - No `self` in RustcDecodable::decodeJohn Hodge1-1/+1
2016-12-31Expand Derive - Hack around getting a trait object to a [T]John Hodge1-4/+4
2016-12-24No more tears!ubsan1-207/+207
2016-12-18HIR - Move closuresJohn Hodge1-3/+4
2016-11-19Derive Decodable - Add _ arm to enum decodingJohn Hodge1-0/+18
2016-11-03Expand derive - Fix Decodable/Encodable implementationsJohn Hodge1-4/+4
2016-11-02All - Hack in start of macro hygine - requires rework so is disabledJohn Hodge1-3/+3
2016-10-31AST - Delete some dead code, remove some warnings on GCC6John Hodge1-2/+0
2016-10-30AST - Remove copy construction of TypeRefJohn Hodge1-16/+15
2016-10-26Expand derive - Fix error in enum RustcDecodableJohn Hodge1-5/+6
2016-10-26(minor) CommentingJohn Hodge1-4/+0
2016-10-26Expand derive - Fix bad derive code for RustcEncodable/RustcDecodableJohn Hodge1-23/+32
2016-10-25Expand derive - Add untested RustcDecodable implJohn Hodge1-1/+212
2016-10-25AST - Encode unit variants with a NULL value instead of an empty setJohn Hodge1-219/+126
2016-10-25Expand derive - Rough (minimally tested) RustcEncodable implJohn Hodge1-0/+275
2016-10-24AST - Remove separate impls list (now in item list)John Hodge1-1/+1
2016-10-23AST+HIR - Add stubbed support for erased types (`impl Trait`)John Hodge1-0/+3
2016-10-23AST - Reduce places where there's no span information providedJohn Hodge1-28/+28
2016-10-12Make deault ABI a #defineJohn Hodge1-8/+9
2016-10-05Expand derive - Hash (and enable error when an unexpected trait is seen)John Hodge1-1/+156
2016-10-05Expand derive - DefaultJohn Hodge1-2/+79
2016-10-03Expand/derive - OrdJohn Hodge1-1/+258
2016-10-02Expand - Derive PartialOrdJohn Hodge1-27/+286