diff options
| author | bors <bors@rust-lang.org> | 2014-07-13 19:16:28 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-07-13 19:16:28 +0000 |
| commit | 7a6208f2cc1bbe29dc42b21d27e98894b8bacc04 (patch) | |
| tree | d4341cdd32f5d747a6289b2335012ec8f435d151 /src/rustllvm/RustWrapper.cpp | |
| parent | fbeee04f31ac16fe61f29749145a29e562d065fe (diff) | |
| parent | aee5917556856428072cc090fb892176eaa075b3 (diff) | |
| download | rust-7a6208f2cc1bbe29dc42b21d27e98894b8bacc04.tar.gz rust-7a6208f2cc1bbe29dc42b21d27e98894b8bacc04.zip | |
auto merge of #15646 : jbclements/rust/method-macros, r=cmr
This patch adds support for macros in method position. It follows roughly the template for Item macros, where an outer `Method` wrapper contains a `Method_` enum which can either be a macro invocation or a standard macro definition. One note; adding support for macros that expand into multiple methods is not included here, but should be a simple parser change, since this patch updates the type of fold_macro to return a smallvector of methods. For reviewers, please pay special attention to the parser changes; these are the ones I'm most concerned about. Because of the small change to the interface of fold_method, this is a ... [breaking change]
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
