diff options
| author | bors <bors@rust-lang.org> | 2014-02-14 06:11:43 -0800 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-02-14 06:11:43 -0800 |
| commit | 18477ac68a3daf8260be17be368f59a65c3b7527 (patch) | |
| tree | 7952b94baefe1aa1e545dde8c1ce202255c360ee /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | d40b5374055086df88727925872f0733843f9d2e (diff) | |
| parent | 3c02749ad873af24c5865e105bd1e6ded1b71409 (diff) | |
| download | rust-18477ac68a3daf8260be17be368f59a65c3b7527.tar.gz rust-18477ac68a3daf8260be17be368f59a65c3b7527.zip | |
auto merge of #12234 : sfackler/rust/restructure-item-decorator, r=huonw
The old method of building up a list of items and threading it through all of the decorators was unwieldy and not really scalable as non-deriving ItemDecorators become possible. The API is now that the decorator gets an immutable reference to the item it's attached to, and a callback that it can pass new items to. If we want to add syntax extensions that can modify the item they're attached to, we can add that later, but I think it'll have to be separate from ItemDecorator to avoid strange ordering issues. @huonw
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
