about summary refs log tree commit diff
path: root/src/libsyntax
AgeCommit message (Collapse)AuthorLines
2016-02-12Use more autoderef in libsyntaxJonas Schievink-171/+171
2016-02-12Auto merge of #31583 - petrochenkov:indi_ast, r=Manishearthbors-232/+249
cc #31487 plugin-[breaking-change] The AST part of https://github.com/rust-lang/rust/pull/30087 r? @Manishearth
2016-02-12Auto merge of #30830 - arcnmx:static-extern, r=alexcrichtonbors-0/+5
See #29676 r? @alexcrichton
2016-02-11Remove some unnecessary indirection from AST structuresVadim Petrochenkov-232/+249
2016-02-11bootstrap: Add a bunch of Cargo.toml filesAlex Crichton-0/+16
These describe the structure of all our crate dependencies.
2016-02-11Pass through diagnostic handler insteadarcnmx-5/+5
2016-02-11Use find_export_name_attr instead of string literalarcnmx-4/+4
2016-02-11Remove link_section and linkage as extern indicatorsarcnmx-2/+0
2016-02-11Only retain external static symbols across LTOarcnmx-0/+7
2016-02-11[breaking-change] don't glob export ast::PathListItem_ variantsOliver 'ker' Schneider-19/+23
2016-02-11[breaking-change] don't glob export ast::StrStyle variantsOliver 'ker' Schneider-19/+20
2016-02-11[breaking-change] don't glob export ast::Visibility variantsOliver 'ker' Schneider-42/+41
2016-02-11[breaking-change] don't glob export ast::TraitItemKind variantsOliver 'ker' Schneider-32/+30
2016-02-11[breaking-change] don't glob export ast::Mutablity variantsOliver 'ker' Schneider-42/+51
2016-02-11[breaking-change] don't glob export ast::MetaItem_Oliver 'ker' Schneider-54/+53
2016-02-11[breaking-change] don't glob export ast::MacStmtStyleOliver 'ker' Schneider-14/+13
2016-02-11[breaking-change] don't glob export ast::KleeneOp variantsOliver 'ker' Schneider-17/+18
2016-02-11[breaking-change] don't glob export ast::Item_ variantsOliver 'ker' Schneider-175/+171
2016-02-11[breaking-change] don't glob export ast::ForeignItem_ variantsOliver 'ker' Schneider-19/+18
2016-02-11[breaking-change] don't pub export ast::Stmt_ variantsOliver Schneider-81/+76
2016-02-11[breaking-change] don't pub export ast::IntLitType variantsOliver Schneider-25/+24
2016-02-11[breaking-change] don't pub export ast::Lit_ variantsOliver Schneider-67/+66
2016-02-11[breaking-change] don't pub export ast::Ty_ variantsOliver Schneider-109/+106
2016-02-11[breaking-change] remove unused enum ast::PrimTyOliver Schneider-12/+0
2016-02-11remove unit test that can't be tested anymoreOliver Schneider-8/+0
2016-02-11[breaking-change] remove the sign from integer literals in the astOliver Schneider-61/+42
2016-02-11[breaking-change] don't glob export ast::{UintTy, IntTy} variantsOliver Schneider-85/+83
2016-02-11[breaking-change] don't glob export ast::FloatTy variantsOliver Schneider-9/+8
2016-02-11[breaking-change] don't glob export ast::Expr_ variantsOliver Schneider-334/+327
2016-02-11[breaking-change] don't glob export ast::ExplicitSelf_ variantsOliver Schneider-51/+50
2016-02-11[breaking-change] don't glob export ast::Decl_ variantsOliver Schneider-31/+30
2016-02-11[breaking-change] don't glob export ast::CaptureClause variantsOliver Schneider-14/+14
2016-02-11[breaking-change] don't glob import/export syntax::abi enum variantsOliver Schneider-68/+64
2016-02-11[breaking-change] don't glob export ast::BlockCheckMode variantsOliver Schneider-21/+18
2016-02-11[breaking-change] don't glob import ast::FunctionRetTy variantsOliver Schneider-35/+34
2016-02-11[breaking-change] don't glob export ast::BinOp_Oliver Schneider-126/+128
2016-02-11[breaking-change] don't glob export ast::UnOp variantsOliver Schneider-16/+16
2016-02-08Breaking tokens into pieces should behave similar to Parser::bump.Tomasz Miąsko-11/+19
Previously when breaking tokens into smaller pieces, the replace_token function have been used. It replaced current token and updated span information, but it did not clear the list of expected tokens, neither did it update remaining info about last token. This could lead to incorrect error message, like one described in the issue #24780: expected one of ... `>` ... found `>`
2016-02-05Auto merge of #31389 - mitaa:schars, r=nrcbors-10/+10
A span spanning only a single character would render like `^~` instead of just `^`. r? @nrc
2016-02-04Auto merge of #31382 - DanielJCampbell:SaveSpans, r=nrcbors-1/+20
r? @nrc
2016-02-03Auto merge of #31078 - nbaksalyar:illumos, r=alexcrichtonbors-0/+2
This pull request adds support for [Illumos](http://illumos.org/)-based operating systems: SmartOS, OpenIndiana, and others. For now it's x86-64 only, as I'm not sure if 32-bit installations are widespread. This PR is based on #28589 by @potatosalad, and also closes #21000, #25845, and #25846. Required changes in libc are already merged: https://github.com/rust-lang-nursery/libc/pull/138 Here's a snapshot required to build a stage0 compiler: https://s3-eu-west-1.amazonaws.com/nbaksalyar/rustc-sunos-snapshot.tar.gz It passes all checks from `make check`. There are some changes I'm not quite sure about, e.g. macro usage in `src/libstd/num/f64.rs` and `DirEntry` structure in `src/libstd/sys/unix/fs.rs`, so any comments on how to rewrite it better would be greatly appreciated. Also, LLVM configure script might need to be patched to build it successfully, or a pre-built libLLVM should be used. Some details can be found here: https://llvm.org/bugs/show_bug.cgi?id=25409 Thanks! r? @brson
2016-02-03Fix rendering of single-char-spanmitaa-10/+10
A span spanning only a single character would render like `^~` instead of just `^`.
2016-02-03Changed macro spans in CSVs to point to the macro name, bugfixed nested spansDaniel Campbell-1/+20
2016-02-03Rollup merge of #27499 - barosl:macro-doc-raw-str-hashes, r=nikomatsakisManish Goregaokar-1/+15
Any documentation comments that contain raw-string-looking sequences may pretty-print invalid code when expanding them, as the current logic always uses the `r"literal"` form, without appending any `#`s. This commit calculates the minimum number of `#`s required to wrap a comment correctly and appends `#`s appropriately. Fixes #27489.
2016-02-02Auto merge of #31254 - tmiasko:macro-pretty-print-fix, r=sfacklerbors-5/+2
Pretty printing of macro with braces but without terminated semicolon removed more boxes from stack than it put there, resulting in panic. This fixes the issue #30731.
2016-02-02Rollup merge of #31342 - reeze:patch-1, r=steveklabnikSteve Klabnik-3/+3
2016-02-02Rollup merge of #31281 - oli-obk:patch-2, r=nikomatsakisSteve Klabnik-2/+2
2016-02-02Auto merge of #31279 - DanielJCampbell:MacroReferencing, r=nrcbors-0/+21
r? @nrc
2016-02-01Auto merge of #31250 - nrc:more-aborts, r=@nikomatsakisbors-7/+3
With this PR we can save-analysis on code with errors, essential foundation work for IDE support.
2016-02-01Comment fixReeze Xia-3/+3