rust/src/libsyntax/ext
Alex Crichton 2f3fde60c3 Implement an address_insignificant attribute
This can be applied to statics and it will indicate that LLVM will attempt to
merge the constant in .data with other statics.

I have preliminarily applied this to all of the statics generated by the new
`ifmt!` syntax extension. I compiled a file with 1000 calls to `ifmt!` and a
separate file with 1000 calls to `fmt!` to compare the sizes, and the results
were:

fmt           310k
ifmt (before) 529k
ifmt (after)  202k

This now means that ifmt! is both faster and smaller than fmt!, yay!
2013-08-09 13:49:41 -07:00
..
deriving auto merge of #8285 : huonw/rust/deriving+++, r=alexcrichton 2013-08-07 00:56:18 -07:00
tt remove obsolete foreach keyword 2013-08-03 22:48:02 -04:00
asm.rs env! syntax extension changes 2013-08-08 10:35:42 -07:00
auto_encode.rs syntax: modernise attribute handling in syntax::attr. 2013-07-20 01:06:16 +10:00
base.rs auto merge of #8362 : sfackler/rust/env, r=alexcrichton 2013-08-09 05:35:06 -07:00
build.rs core: option.map_consume -> option.map_move 2013-08-07 08:52:09 -07:00
bytes.rs remove obsolete foreach keyword 2013-08-03 22:48:02 -04:00
cfg.rs syntax: implement cfg!() which evaluates to true/false where #[cfg] would keep/remove. 2013-08-01 23:03:03 +10:00
concat_idents.rs remove obsolete foreach keyword 2013-08-03 22:48:02 -04:00
env.rs env! syntax extension changes 2013-08-08 10:35:42 -07:00
expand.rs Add initial support for a new formatting syntax 2013-08-07 19:21:43 -07:00
fmt.rs env! syntax extension changes 2013-08-08 10:35:42 -07:00
ifmt.rs Implement an address_insignificant attribute 2013-08-09 13:49:41 -07:00
log_syntax.rs libsyntax: Remove some multi-gigabyte clones that were preventing bootstrapping on Windows. 2013-07-17 14:57:56 -07:00
quote.rs remove obsolete foreach keyword 2013-08-03 22:48:02 -04:00
source_util.rs Updated std::Option, std::Either and std::Result 2013-08-05 22:42:21 +02:00
trace_macros.rs librustc: Remove all uses of "copy". 2013-07-17 14:57:51 -07:00