summary refs log tree commit diff
path: root/src/libsyntax/ast_util.rs
AgeCommit message (Collapse)AuthorLines
2012-07-04convert doc-attributes to doc-comments using ↵Gareth Daniel Smith-1/+1
./src/etc/sugarise-doc-comments.py (and manually tweaking) - for issue #2498
2012-07-03Revert "Remove rule requiring non-nil block-style statements to be ↵Brian Anderson-0/+1
semi-terminated" This reverts commit 0f5eaef5fb2443acd3ea67250c953839c3d04d38.
2012-07-03Remove rule requiring non-nil block-style statements to be semi-terminatedBrian Anderson-1/+0
This is a subtle rule that no longer seems to be required.
2012-07-02rustc: Implement a new resolve pass behind a compile flagPatrick Walton-0/+7
2012-07-01Convert to new closure syntaxBrian Anderson-22/+28
2012-06-30Eliminate usages of old sugared call syntaxBrian Anderson-9/+9
2012-06-29Switch the compiler over to using ~[] notation instead of []/~. Closes #2759.Michael Sullivan-14/+14
2012-06-26Change 'native' and 'crust' to 'extern'.Graydon Hoare-5/+5
This comes with a terminology change. All linkage-symbols are 'extern' now, including rust syms in other crates. Some extern ABIs are merely "foreign". The term "native" is retired, not clear/useful. What was "crust" is now "extern" applied to a _definition_. This is a bit of an overloading, but should be unambiguous: it means that the definition should be made available to some non-rust ABI.
2012-06-26Getting rid of lots more vector +=. (issue #2719)Eric Holk-6/+6
2012-06-25Make vectors uglier ([]/~). Sorry. Should be temporary. Closes #2725.Michael Sullivan-15/+16
2012-06-24Remove resourcesTim Chevalier-3/+1
Also fixed shapes for classes with dtors, as well as handling offsets for classes with dtors correctly in take glue. Closes #2485
2012-06-21Tag all remaining FIXMEs with bugs. Install rule in tidy script to enforce this.Graydon Hoare-10/+10
2012-06-21Move vector addition out of trans and into libcore.Eric Holk-4/+13
2012-06-16Re-fix whitespaceTim Chevalier-1/+1
2012-06-16Revert "Reference and whitespace fixes."Tim Chevalier-1/+1
This reverts commit 52f1904ddde95fb7d8e654b4cc78a4f162385275.
2012-06-15Reference and whitespace fixes.Eric Holk-1/+1
2012-06-15id_visitor should handle expr_index and expr_assign_op as well.Eric Holk-2/+3
2012-06-15Handle index expressions' callee IDs correctlyTim Chevalier-1/+1
Some code that handles unary and binary exprs' callee IDs was forgetting to handle the index expr case (since calls to user-defined index operators also have callee IDs). This was manifesting as an ICE in trans because when monomorphizing a function that had one of these operators in it (an index into a dvec, in the test case), the callee ID would be unbound to a type. Fixed it. Closes #2631.
2012-06-14Comments only: annotate FIXMEsTim Chevalier-1/+1
2012-06-13Box AST identsBrian Anderson-2/+5
2012-06-12Handle class destructors correctly in metadataTim Chevalier-0/+5
This allows destructors to be inlined, which is necessary since classes can have both ty params and destructors.
2012-06-07syntax: Remove a bunch of implicit copiesPatrick Walton-11/+15
2012-06-06add pure annotations in ast_utilNiko Matsakis-14/+14
2012-06-04syntax: Make span functions take args by copy. Eliminate some copy warningsBrian Anderson-3/+3
2012-05-31Rename librustsyntax to libsyntaxKevin Cantu-0/+554
Per issue #2418.