about summary refs log tree commit diff
path: root/src/comp/front/attr.rs
AgeCommit message (Collapse)AuthorLines
2011-12-16reorder args to the various vec, option fns so blk comes lastNiko Matsakis-3/+3
2011-12-13Copy first batch of material from libstd to libcore.Graydon Hoare-1/+2
2011-11-21rustc: Remove abi from ast::native_modHaitao Li-1/+22
2011-11-18Update stdlib, compiler, and tests to new kind systemMarijn Haverbeke-1/+1
This involved adding 'copy' to more generics than I hoped, but an experiment with making it implicit showed that that way lies madness -- unless enforced, you will not remember to mark functions that don't copy as not requiring copyable kind. Issue #1177
2011-11-17remove compile-command from local variable blocksNiko Matsakis-1/+0
2011-11-16rustc: Use link_name attribute for native functionHaitao Li-0/+10
Fixes issue #906
2011-11-10Cleanup unused importsHaitao Li-2/+1
2011-10-29Add the ability to ignore tests by compiler configBrian Anderson-0/+8
[test] [ignore(cfg(target_os = "win32"))]
2011-10-25Update our code to new type parameter kind syntaxMarijn Haverbeke-1/+1
Closes #1067
2011-10-07Parse and typecheck by-value and by-ref arg specsMarijn Haverbeke-3/+3
Add sprinkle && throughout the compiler to make it typecheck again. Issue #1008
2011-09-12Factor imports mindlessly.Graydon Hoare-6/+2
2011-09-12Reformat for new mode syntax, step 1Marijn Haverbeke-21/+21
Long lines were fixed in a very crude way, as I'll be following up with another reformat in a bit.
2011-09-02Reformat. Issue #855Brian Anderson-14/+9
2011-09-01Remove lots of estr code from rustc. Issue #855Brian Anderson-2/+2
2011-09-01Convert all uses of #ifmt to #fmt. Issue #855Brian Anderson-3/+3
2011-09-01Rename std::istr to std::str. Issue #855Brian Anderson-1/+1
2011-09-01Parse "",str as istrs. Pretty print istrs as "",str. Issue #855Brian Anderson-1/+1
2011-09-01Remove std::str. Issue #855Brian Anderson-1/+0
2011-08-31Convert uses of #fmt to #ifmt. Issue #855Brian Anderson-9/+7
2011-08-27Convert misc compiler bits to istrs. Issue #855Brian Anderson-2/+3
2011-08-27Convert rustc::driver::session to istrs. Issue #855Brian Anderson-2/+2
2011-08-27Convert pretty-printer to istrs. Issue #855Brian Anderson-2/+4
2011-08-27Convert rest of the AST to istrs. Issue #855Brian Anderson-2/+2
2011-08-27Convert ast::ident to istr. Issue #855Brian Anderson-5/+7
2011-08-23Add kind-checking for assign-op, copy, ret, be, fail exprs. Fix caught ↵Graydon Hoare-1/+1
kinding-violations in rustc and libstd.
2011-08-22Move functions from syntax::ast to syntax::ast_utilBrian Anderson-1/+2
This leaves syntax::ast just defining the AST, which strikes me as somewhat nicer
2011-08-20ReformatBrian Anderson-14/+13
This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[]
2011-08-16Port the compiler to the expr foo::<T> syntax.Erick Tryzelaar-1/+1
2011-08-16Port the compiler to foo<T> decl syntax.Erick Tryzelaar-1/+1
2011-08-16Port the compiler to the typaram foo<T> syntax.Erick Tryzelaar-5/+5
2011-08-16Rename std::ivec to std::vecBrian Anderson-5/+5
2011-08-15The wonky for...in... whitespace was bothering me. Sorry!Lindsey Kuper-6/+6
2011-08-15Make spans into stacks (to store expansion backtraces).Paul Stansifer-1/+1
2011-08-12Remove vecs from std::sortBrian Anderson-1/+1
2011-08-09Port the compiler to the ivec type [T] syntax.Erick Tryzelaar-16/+16
2011-07-27Reformat for new syntaxMarijn Haverbeke-120/+96
2011-07-14Flag --test implies '--cfg test'. Issue #428Brian Anderson-0/+6
So certain code can be conditionally compiled only when building for testing
2011-07-13Prohibit trailing whitespace under 'tidy' script. Clean up all caught cases.Graydon Hoare-1/+1
2011-07-12rustc: Remove exterior vectors from front::attrPatrick Walton-7/+6
2011-07-06rustc: Make meta items into interior vectorsPatrick Walton-18/+16
2011-07-06rustc: Convert attribute in the AST to interior vectorsPatrick Walton-6/+9
2011-07-06rustc: Revert the conversion to interior vectors due to heap corruptionPatrick Walton-14/+13
2011-07-06Temp commit on the way to making meta_item into an interior vectorPatrick Walton-8/+6
2011-07-06rustc: Convert attribute in the AST to interior vectorsPatrick Walton-6/+9
2011-07-05Change ast::meta_name_value to accept any literal, not just stringBrian Anderson-3/+30
This isn't useful for much of anything yet, since metadata::encoder doesn't know how to handle the non-string variants. Issue #611
2011-07-05Error if the link attribute has duplicate items. Issue #614Brian Anderson-0/+16
2011-07-05Move everything syntax-related to syntax/, break deps on rest of compilerMarijn Haverbeke-4/+6
src/comp/syntax is currently just a sub-module of rustc, but it will, in the near future, be its own crate. This includes: - The AST data structure - The parser - The pretty-printer - Visit, walk, and fold - The syntax extension system - Some utility stuff that should be in the stdlib* *) Stdlib extensions currently require a snapshot before they can be used, and the win build is very broken right now. This is temporary and will be cleaned up when one of those problems goes away. A lot of code was moved by this patch, mostly towards a more organized layout. Some package paths did get longer, and I guess the new layout will take some getting used to. Sorry about that! Please try not to re-introduce any dependencies in syntax/ on any of the other src/comp/ subdirs.
2011-07-01Add some FIXMEs for issue #607Brian Anderson-1/+4
2011-07-01Add some logging to attr when reading crate link attributesBrian Anderson-2/+1
Only link attributes of the meta_list type are considered when matching crate attributes. Instead of doing nothing we can at least log that link attributes of other types were ignored.
2011-07-01Cleanup attribute code. Issue #487Brian Anderson-2/+9