<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libsyntax/parse/attr.rs, branch 0.8</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=0.8</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=0.8'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2013-09-01T12:43:26+00:00</updated>
<entry>
<title>Modernized a few type names in rustc and syntax</title>
<updated>2013-09-01T12:43:26+00:00</updated>
<author>
<name>Marvin Löbel</name>
<email>loebel.marvin@gmail.com</email>
</author>
<published>2013-08-31T16:13:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=539f37925c4364aa46e984df6ae2ec7e66cecc21'/>
<id>urn:sha1:539f37925c4364aa46e984df6ae2ec7e66cecc21</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix warnings in librustc and libsyntax</title>
<updated>2013-08-17T15:41:42+00:00</updated>
<author>
<name>Erick Tryzelaar</name>
<email>erick.tryzelaar@gmail.com</email>
</author>
<published>2013-08-17T15:37:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e20d46056dc5891696faa8ebcccd2279b6c445d9'/>
<id>urn:sha1:e20d46056dc5891696faa8ebcccd2279b6c445d9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Allow attributes to appear as macro arguments</title>
<updated>2013-08-08T23:41:02+00:00</updated>
<author>
<name>Niko Matsakis</name>
<email>niko@alum.mit.edu</email>
</author>
<published>2013-08-08T17:28:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=33c6d3fd7880df371151ec3e9a053b7169a181e5'/>
<id>urn:sha1:33c6d3fd7880df371151ec3e9a053b7169a181e5</id>
<content type='text'>
Fixes #8393
</content>
</entry>
<entry>
<title>syntax: modernise attribute handling in syntax::attr.</title>
<updated>2013-07-19T15:06:16+00:00</updated>
<author>
<name>Huon Wilson</name>
<email>dbau.pp+github@gmail.com</email>
</author>
<published>2013-07-19T11:51:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cc760a647ac0094814f592d08813ebae0b3bec47'/>
<id>urn:sha1:cc760a647ac0094814f592d08813ebae0b3bec47</id>
<content type='text'>
This does a number of things, but especially dramatically reduce the
number of allocations performed for operations involving attributes/
meta items:

- Converts ast::meta_item &amp; ast::attribute and other associated enums
  to CamelCase.
- Converts several standalone functions in syntax::attr into methods,
  defined on two traits AttrMetaMethods &amp; AttributeMethods. The former
  is common to both MetaItem and Attribute since the latter is a thin
  wrapper around the former.
- Deletes functions that are unnecessary due to iterators.
- Converts other standalone functions to use iterators and the generic
  AttrMetaMethods rather than allocating a lot of new vectors (e.g. the
  old code would have to allocate a new vector to use functions that
  operated on &amp;[meta_item] on &amp;[attribute].)
- Moves the core algorithm of the #[cfg] matching to syntax::attr,
  similar to find_inline_attr and find_linkage_metas.

This doesn't have much of an effect on the speed of #[cfg] stripping,
despite hugely reducing the number of allocations performed; presumably
most of the time is spent in the ast folder rather than doing attribute
checks.

Also fixes the Eq instance of MetaItem_ to correctly ignore spaces, so
that `rustc --cfg 'foo(bar)'` now works.
</content>
</entry>
<entry>
<title>librustc: Remove all uses of "copy".</title>
<updated>2013-07-17T21:57:51+00:00</updated>
<author>
<name>Patrick Walton</name>
<email>pcwalton@mimiga.net</email>
</author>
<published>2013-07-02T19:47:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=99b33f721954bc5290f9201c8f64003c294d0571'/>
<id>urn:sha1:99b33f721954bc5290f9201c8f64003c294d0571</id>
<content type='text'>
</content>
</entry>
<entry>
<title>librustc: Remove the broken overloaded assign-ops from the language.</title>
<updated>2013-06-28T14:44:16+00:00</updated>
<author>
<name>Patrick Walton</name>
<email>pcwalton@mimiga.net</email>
</author>
<published>2013-06-12T02:13:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a1531ed946e2d650fc6cb5af6258fed8003e9443'/>
<id>urn:sha1:a1531ed946e2d650fc6cb5af6258fed8003e9443</id>
<content type='text'>
They evaluated the receiver twice. They should be added back with
`AddAssign`, `SubAssign`, etc., traits.
</content>
</entry>
<entry>
<title>Use @str instead of @~str in libsyntax and librustc. Fixes #5048.</title>
<updated>2013-06-13T00:20:52+00:00</updated>
<author>
<name>Huon Wilson</name>
<email>dbau.pp+github@gmail.com</email>
</author>
<published>2013-06-12T17:02:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=096f6f56a8178bd7f4b69a2ea909838e782766fb'/>
<id>urn:sha1:096f6f56a8178bd7f4b69a2ea909838e782766fb</id>
<content type='text'>
This almost removes the StringRef wrapper, since all strings are
Equiv-alent now. Removes a lot of `/* bad */ copy *`'s, and converts
several things to be &amp;'static str (the lint table and the intrinsics
table).

There are many instances of .to_managed(), unfortunately.
</content>
</entry>
<entry>
<title>Remove unnecessary allocations flagged by lint</title>
<updated>2013-05-27T18:14:44+00:00</updated>
<author>
<name>Seo Sanghyeon</name>
<email>sanxiyn@gmail.com</email>
</author>
<published>2013-05-23T16:09:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8f80323f09ef150efc5cf729100f99981afc96e1'/>
<id>urn:sha1:8f80323f09ef150efc5cf729100f99981afc96e1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove all unnecessary allocations (as flagged by lint)</title>
<updated>2013-05-20T21:10:40+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2013-05-19T05:07:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=82fa0018c80c8f64cb1b446a7e59492d9ad97b1d'/>
<id>urn:sha1:82fa0018c80c8f64cb1b446a7e59492d9ad97b1d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>More accurate spans</title>
<updated>2013-05-02T17:36:24+00:00</updated>
<author>
<name>Seo Sanghyeon</name>
<email>sanxiyn@gmail.com</email>
</author>
<published>2013-05-02T17:36:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a0d8873097a587163887e701c08373a1571f8973'/>
<id>urn:sha1:a0d8873097a587163887e701c08373a1571f8973</id>
<content type='text'>
</content>
</entry>
</feed>
