about summary refs log tree commit diff
path: root/src/rustc/middle/check_const.rs
AgeCommit message (Collapse)AuthorLines
2012-11-07Rename src/rustc to src/librustc. Use the driver crateBrian Anderson-220/+0
2012-11-06rustc: reuse const vals, translate fn paths as consts. Close #2530.Graydon Hoare-4/+15
2012-10-30Preserve parenthesization in the ASTTim Chevalier-0/+2
Maintain explicit "paren" nodes in the AST so we can pretty-print without having to guess where parens should go. We may revisit this in the future. r=graydon
2012-10-15rustc: Merge module and type namespaces. r=brsonPatrick Walton-6/+6
2012-09-27core: More option demodingBrian Anderson-1/+1
2012-09-25Demode iter-traitTim Chevalier-1/+1
2012-09-23core: Demode optionBrian Anderson-1/+1
2012-09-11Introduce auto adjustment table to subsume autoderef/autoref/borrowings.Niko Matsakis-3/+3
Fixes #3261 Fixes #3443
2012-09-10Convert std::map to camel caseBrian Anderson-1/+1
2012-09-04Remove 'with'Brian Anderson-4/+4
2012-09-04rustc: "import" -> "use"Patrick Walton-5/+5
2012-08-29Rename resolve3 -> resolve.Graydon Hoare-5/+5
2012-08-27Camel case various core constructorsBrian Anderson-2/+2
2012-08-27rustc: more pattern cleanupErick Tryzelaar-1/+1
2012-08-26Camel case the option typeBrian Anderson-2/+2
2012-08-23Add boolean constants as part of const_evalTim Chevalier-1/+2
Doesn't exactly eliminate a match check, but simplifies the logic a bit
2012-08-15Convert more core types to camel caseBrian Anderson-2/+2
2012-08-08Const field access (working) and vec indexing (almost). More for #2317.Graydon Hoare-0/+2
2012-08-08Convert impls to new syntaxBrian Anderson-1/+1
2012-08-08rustc: Do some plumbing work in preparation for common fields in enumsPatrick Walton-2/+2
2012-08-07Translate const structs.Graydon Hoare-0/+1
2012-08-07syntax: Make match arm parsing more restrictive againBrian Anderson-1/+1
Require comma separators for all expression types except the plain block
2012-08-06Convert alt to match. Stop parsing altBrian Anderson-9/+9
2012-08-05Switch alts to use arrowsBrian Anderson-27/+27
2012-08-03Translate const vecs, most of const slices. More for #2317.Graydon Hoare-4/+4
2012-08-03Implement &-expressions in consts. Part of #2317.Graydon Hoare-0/+7
2012-08-01Convert ret to returnBrian Anderson-2/+2
2012-07-31Start implementing structured constants.Graydon Hoare-0/+2
2012-07-20Remove what's left of resolve1Tim Chevalier-5/+6
2012-07-14Treat bare vector and string literals as fixed length vecs. Closes #2922.Michael Sullivan-2/+1
2012-07-14Move the world over to using the new style string literals and types. Closes ↵Michael Sullivan-11/+12
#2907.
2012-07-12Handle str/~ in patterns.Michael Sullivan-1/+6
2012-07-11infer when types are region parameterized rather than requiring /&Niko Matsakis-1/+1
- removes various fields from various variants in the AST - also update tests not to use this notation
2012-07-01Convert to new closure syntaxBrian Anderson-5/+4
2012-06-30Eliminate usages of old sugared call syntaxBrian Anderson-1/+1
2012-06-20Remove bind. Issue #2189Brian Anderson-2/+4
2012-06-07Comments only: annotate FIXMEsTim Chevalier-1/+1
2012-06-06move check_const to dvecNiko Matsakis-4/+5
2012-05-21rustc: Move ast_map to the syntax crateBrian Anderson-1/+1
2012-04-19make nominal types optionally parameterized by a self region.Niko Matsakis-1/+1
Issue #2201.
2012-04-06Re-rename option functionsTim Chevalier-1/+1
get_with_default (nee from_maybe) => get_default with_option (nee maybe) => map_default with_option_do (nee may) => iter As per discussion of 21be1379d561b6679a8a2ea47dce88f948c5acca
2012-04-06Convert old-style for loops to new-styleMarijn Haverbeke-1/+1
Most could use the each method, but because of the hack used to disambiguate old- and new-style loops, some had to use vec::each. (This hack will go away soon.) Issue #1619
2012-04-04rustc: Don't allow recursive constantsBrian Anderson-5/+67
2012-04-04rustc: Allow consts to refer to other constsBrian Anderson-4/+20
2012-04-02Rename some core::option functionsTim Chevalier-1/+1
from_maybe => get_with_default maybe => with_option may => with_option_do I know these names are kind of ridiculous, but it's the best I could think of. Feel free to bikeshed. Closes #2081
2012-03-14Add crude support for casts in constant expressionsMarijn Haverbeke-4/+13
Only casts to integral and float types are supported Closes #1975
2012-03-07stdlib: Stop incurring vtable dispatch costs when hashmaps are usedPatrick Walton-0/+1
This required changing almost all users of hashmaps to import the hashmap interface first. The `size` member in the hashmap structure was renamed to `count` to work around a name conflict.
2012-03-07Revert "stdlib: Stop incurring vtable dispatch costs when hashmaps are used"Patrick Walton-1/+0
This reverts commit f0250a23d3fa2f8b4a4a4113ca89e41945a4cfed.
2012-03-07stdlib: Stop incurring vtable dispatch costs when hashmaps are usedPatrick Walton-0/+1
This required changing almost all users of hashmaps to import the hashmap interface first. The `size` member in the hashmap structure was renamed to `count` to work around a name conflict.
2012-03-02Move src/comp to src/rustcGraydon Hoare-0/+98