diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2013-03-28 21:50:10 +1100 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2013-04-12 17:10:26 +1000 |
| commit | 3698ea7e54c46cfde377f95782710ee5e19876d3 (patch) | |
| tree | 626552177fa333905788bb996b9d3941d5966e83 /src/rustllvm/RustWrapper.cpp | |
| parent | cf34b31704257ef79cd0f9286314c10fa15b7bf9 (diff) | |
| download | rust-3698ea7e54c46cfde377f95782710ee5e19876d3.tar.gz rust-3698ea7e54c46cfde377f95782710ee5e19876d3.zip | |
libsyntax: abstract most of the deriving boilerplate into a simpler(r) interface.
Pulls out many of the common patterns from the Eq and Clone deriving code (and invents a few of its own), so that deriving instances are very easy to write for a certain class of traits. (Basically, those which don't have parameters and where all methods only take arguments of type `&Self` and return either `Self` or types with no parameters.)
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
