about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorKeegan McAllister <kmcallister@mozilla.com>2014-12-30 19:10:46 -0800
committerKeegan McAllister <kmcallister@mozilla.com>2015-01-05 12:00:57 -0800
commit677b7cad3d0ca1347f65ae9b409078343a5f302e (patch)
tree014e59bc3d1295b22d98b2c923396c0683965c6d /src/rustllvm/RustWrapper.cpp
parent24aa7f0e387e2a04795e80bc91b8b8adf6a1c98f (diff)
downloadrust-677b7cad3d0ca1347f65ae9b409078343a5f302e.tar.gz
rust-677b7cad3d0ca1347f65ae9b409078343a5f302e.zip
Reformat metadata for exported macros
Instead of copy-pasting the whole macro_rules! item from the original .rs file,
we serialize a separate name, attributes list, and body, the latter as
pretty-printed TTs.  The compilation of macro_rules! macros is decoupled
somewhat from the expansion of macros in item position.

This filters out comments, and facilitates selective imports.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions