about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-07-13 19:16:28 +0000
committerbors <bors@rust-lang.org>2014-07-13 19:16:28 +0000
commit7a6208f2cc1bbe29dc42b21d27e98894b8bacc04 (patch)
treed4341cdd32f5d747a6289b2335012ec8f435d151 /src/rustllvm/RustWrapper.cpp
parentfbeee04f31ac16fe61f29749145a29e562d065fe (diff)
parentaee5917556856428072cc090fb892176eaa075b3 (diff)
downloadrust-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