about summary refs log tree commit diff
path: root/src/comp
AgeCommit message (Collapse)AuthorLines
2011-08-15Fix compilation of paths containing ".". Closes #821.Michael Sullivan-17/+12
2011-08-15rustc: Parse and typecheck unique pointersPatrick Walton-1/+14
2011-08-15rustc: Unbreak "3 as uint < 5u"Patrick Walton-49/+59
2011-08-15rustc: Accept <T> for type parameters in type and item declarationsPatrick Walton-4/+14
2011-08-15Removed spawn and task from the parser. Updated all the tests except for the ↵Eric Holk-0/+4
benchmarks.
2011-08-15Fix bad argument type of pprust::print_typeMarijn Haverbeke-29/+27
AST types are boxed, there's no need for every caller to do the unboxing
2011-08-15Add tuple patternsMarijn Haverbeke-35/+130
2011-08-15Make tuples constructableMarijn Haverbeke-11/+26
2011-08-15Tuple fields are immutableMarijn Haverbeke-138/+93
2011-08-15Tuple types back, not constructable yetMarijn Haverbeke-16/+278
2011-08-14Revert "Make [] and ~[] both construct ivecs"Brian Anderson-1/+1
This reverts commit 60e1cead9bab129b1937a11c71ab2ab2fd751792. The check-fast driver can't work with this commit. Need to wait until main taks ivecs
2011-08-12Eliminate autoderef on binops and unary negation.Michael Sullivan-99/+45
Autoderef on binops is basically unused, kind of silly, and complicates typechecking. There were only three instances of it in the compiler and the test drivers, two of which were of the form "*foo = foo + 1", which should be written as "*foo += 1" anyways.
2011-08-12Remove typestate workaround that's no longer necessaryTim Chevalier-4/+1
2011-08-12Small whitespace cleanups.Michael Sullivan-12/+5
2011-08-12Un-XFAIL do-while-body-failsTim Chevalier-1/+8
Made it work both with optimization enabled, and with optimization disabled. Huzzah!
2011-08-12Make [] and ~[] both construct ivecsBrian Anderson-1/+1
It's no longer possible to create an exterior vec
2011-08-12Remove the last remaining vec expressions in rustcBrian Anderson-8/+11
2011-08-12Add an ivec interface to the #fmt library functionsBrian Anderson-4/+4
It will take a snapshot to finish the ivec conversion for #fmt
2011-08-12Don't rely on binop autoderef in the compiler.Michael Sullivan-2/+2
2011-08-12Remove std::vecBrian Anderson-3/+0
2011-08-12Convert uint::parse_buf to ivecsBrian Anderson-5/+4
2011-08-12Remove vecs from std::getoptsBrian Anderson-6/+5
2011-08-12Remove ebmlivec moduleBrian Anderson-221/+221
2011-08-12Rename std::termivec to std::termBrian Anderson-5/+5
2011-08-12Remove vecs from std::sortBrian Anderson-5/+5
2011-08-12Convert std::run to ivecsBrian Anderson-3/+3
2011-08-12Hide even more exports from std::vecBrian Anderson-2/+0
2011-08-12Rename std::ioivec to std::ioBrian Anderson-59/+59
2011-08-12Rename str::connect_ivec to str::connectBrian Anderson-16/+16
2011-08-12Convert uses of str::connect to str::connect_ivecBrian Anderson-3/+3
2011-08-12Rename str::split_ivec to str::splitBrian Anderson-4/+4
2011-08-12Convert uses of str::split to split_ivecBrian Anderson-14/+6
2011-08-12Rename std::str::unsafe_from_bytes_ivec to unsafe_from_bytesBrian Anderson-16/+16
2011-08-12Convert all uses of unsafe_from_bytes to unsafe_from_bytes_ivecBrian Anderson-8/+8
2011-08-12Remove str::from_bytesBrian Anderson-5/+6
This is exactly the same as str::unsafe_from_bytes
2011-08-12Remove vec version of str::bytes, rename bytes_ivec to str::bytesBrian Anderson-13/+13
2011-08-12Remove vecs from the rustc driverBrian Anderson-40/+42
2011-08-12Remove vecs from simplextBrian Anderson-29/+21
2011-08-12Begin removing vecs from #fmtBrian Anderson-9/+9
2011-08-12Properly typecheck unary minusMarijn Haverbeke-1/+9
Closes #813
2011-08-11Handle _|_ - typed things in the bodies of do-while loopsTim Chevalier-0/+5
The resulting code is strange, but perhaps someone else can fix it. The obvious things, like returning body_res, all resulted in completely incomprehensible LLVM errors. Closes #814
2011-08-11Fix too-long line.Lindsey Kuper-1/+1
2011-08-11Use the new C API for PassManagerBuilder.Rafael Ávila de Espíndola-16/+48
2011-08-11Update for llvm api change.Rafael Ávila de Espíndola-7/+0
2011-08-11rustc: Associate type descriptors with allocas as metadataPatrick Walton-12/+88
2011-08-11rustc: Lowercase "main function not found" errorBrian Anderson-1/+1
2011-08-11rustc: Use spans in some main typeck errorsBrian Anderson-4/+6
2011-08-11Add ast_map::node_span functionBrian Anderson-0/+57
2011-08-11Switch a check for main type from an error to an ICEBrian Anderson-1/+1
This code path doesn't look possible, so I think it indicates a bug. Also, make the message lowercase.
2011-08-11Lowercase the "wrong type in main fn" errorBrian Anderson-1/+1