| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-12-30 | Rename directories for some crates from `syntax_x` to `rustc_x` | Vadim Petrochenkov | -289/+0 | |
| `syntax_expand` -> `rustc_expand` `syntax_pos` -> `rustc_span` `syntax_ext` -> `rustc_builtin_macros` | ||||
| 2019-12-22 | Format the world | Mark Rousskov | -31/+32 | |
| 2019-12-20 | introduce 'type AttrVec' | Mazdak Farrokhzad | -2/+1 | |
| 2019-11-17 | Address review comments | Vadim Petrochenkov | -3/+2 | |
| 2019-11-16 | parse: Use string literal parsing in the `asm` macro | Vadim Petrochenkov | -14/+25 | |
| 2019-11-14 | Update to use new librustc_error_codes library | Guillaume Gomez | -0/+2 | |
| 2019-11-07 | syntax::parser::token -> syntax::token | Mazdak Farrokhzad | -1/+1 | |
| 2019-10-16 | move syntax::ext to new crate syntax_expand | Mazdak Farrokhzad | -1/+1 | |
| 2019-09-26 | Rename `Expr.node` to `Expr.kind` | varkor | -1/+1 | |
| For both `ast::Expr` and `hir::Expr`. | ||||
| 2019-09-15 | Remove `with_legacy_ctxt` | Matthew Jasper | -1/+1 | |
| 2019-09-03 | use TokenStream rather than &[TokenTree] for built-in macros | Aleksey Kladov | -14/+10 | |
| That way, we don't loose the jointness info | ||||
| 2019-08-23 | Audit uses of `apply_mark` in built-in macros | Vadim Petrochenkov | -1/+1 | |
| Replace them with equivalents of `Span::{def_site,call_site}` from proc macro API. The new API is much less error prone and doesn't rely on macros having default transparency. | ||||
| 2019-08-17 | Remove SyntaxContext from {ast, hir}::{GlobalAsm, InlineAsm} | Matthew Jasper | -2/+1 | |
| We now store it in the `Span` of the expression or item. | ||||
| 2019-08-13 | syntax: Remove `DummyResult::expn_only` | Vadim Petrochenkov | -2/+2 | |
| 2019-07-07 | syntax: Migrate built-in macros to the regular stability checking | Vadim Petrochenkov | -9/+0 | |
| 2019-06-06 | syntax: Use `Token` in `Parser` | Vadim Petrochenkov | -1/+1 | |
| 2019-06-06 | syntax: Use `Token` in `TokenTree::Token` | Vadim Petrochenkov | -3/+4 | |
| 2019-05-27 | Avoid unnecessary internings. | Nicholas Nethercote | -2/+2 | |
| Most involving `Symbol::intern` on string literals. | ||||
| 2019-05-24 | Tweak macro parse errors when reaching EOF during macro call parse | Esteban Küber | -1/+5 | |
| - Add detail on origin of current parser when reaching EOF and stop saying "found <eof>" and point at the end of macro calls - Handle empty `cfg_attr` attribute - Reword empty `derive` attribute error | ||||
| 2019-05-13 | Remove the equality operation between `Symbol` and strings. | Nicholas Nethercote | -4/+4 | |
| And also the equality between `Path` and strings, because `Path` is made up of `Symbol`s. | ||||
| 2019-05-13 | Pass a `Symbol` to `check_name`, `emit_feature_err`, and related functions. | Nicholas Nethercote | -2/+2 | |
| 2019-02-13 | Rename rustc_errors dependency in rust 2018 crates | Taiki Endo | -1/+1 | |
| 2019-02-04 | libsyntax_ext => 2018 | Taiki Endo | -5/+6 | |
| 2019-01-02 | make `panictry!` private to libsyntax | Andy Russell | -45/+71 | |
| This commit completely removes usage of the `panictry!` macro from outside libsyntax. The macro causes parse errors to be fatal, so using it in libsyntax_ext caused parse failures *within* a syntax extension to be fatal, which is probably not intended. Furthermore, this commit adds spans to diagnostics emitted by empty extensions if they were missing, à la #56491. | ||||
| 2018-12-27 | Make sure feature gate errors are recoverable | Vadim Petrochenkov | -1/+0 | |
| 2018-12-25 | Remove licenses | Mark Rousskov | -10/+0 | |
| 2018-12-04 | cleanup: remove static lifetimes from consts | ljedrz | -1/+1 | |
| 2018-08-13 | Move SmallVec and ThinVec out of libsyntax | ljedrz | -1/+3 | |
| 2018-07-12 | Deny bare trait objects in src/libsyntax_ext | ljedrz | -1/+1 | |
| 2018-05-17 | Switch to 1.26 bootstrap compiler | Mark Simulacrum | -16/+5 | |
| 2018-05-15 | Add missing error codes in libsyntax-ext asm | Guillaume Gomez | -3/+6 | |
| 2018-04-14 | Add error codes for libsyntax_ext | Guillaume Gomez | -2/+14 | |
| 2018-02-05 | Make inline assembly volatile if it has no outputs. Fixes #46026 | John Kåre Alsaker | -0/+6 | |
| 2017-08-15 | use field init shorthand EVERYWHERE | Zack M. Davis | -8/+8 | |
| Like #43008 (f668999), but _much more aggressive_. | ||||
| 2017-03-29 | Merge `ExpnId` and `SyntaxContext`. | Jeffrey Seyfried | -11/+1 | |
| 2017-03-03 | Integrate `TokenStream`. | Jeffrey Seyfried | -1/+1 | |
| 2016-11-21 | Use `Symbol` instead of `InternedString` in the AST, HIR, and various other ↵ | Jeffrey Seyfried | -10/+11 | |
| places. | ||||
| 2016-11-20 | Move `syntax::util::interner` -> `syntax::symbol`, cleanup. | Jeffrey Seyfried | -5/+5 | |
| 2016-11-03 | Make `ast::ExprKind` smaller. | Jeffrey Seyfried | -2/+2 | |
| 2016-10-29 | Move `CrateConfig` from `Crate` to `ParseSess`. | Jeffrey Seyfried | -1/+1 | |
| 2016-10-19 | Rollup merge of #37161 - nnethercote:no-cfg-cloning, r=nrc | Eduard-Mihai Burtescu | -1/+1 | |
| Avoid many CrateConfig clones. This commit changes `ExtCtx::cfg()` so it returns a `CrateConfig` reference instead of a clone. As a result, it also changes all of the `cfg()` callsites to explicitly clone... except one, because the commit also changes `macro_parser::parse()` to take `&CrateConfig`. This is good, because that function can be hot, and `CrateConfig` is expensive to clone. This change almost halves the number of heap allocations done by rustc for `html5ever` in rustc-benchmarks suite, which makes compilation 1.20x faster. r? @nrc | ||||
| 2016-10-14 | Avoid many CrateConfig clones. | Nicholas Nethercote | -1/+1 | |
| This commit changes `ExtCtx::cfg()` so it returns a `CrateConfig` reference instead of a clone. As a result, it also changes all of the `cfg()` callsites to explicitly clone... except one, because the commit also changes `macro_parser::parse()` to take `&CrateConfig`. This is good, because that function can be hot, and `CrateConfig` is expensive to clone. This change almost halves the number of heap allocations done by rustc for `html5ever` in rustc-benchmarks suite, which makes compilation 1.20x faster. | ||||
| 2016-10-05 | Rename Parser::last_span as prev_span. | Nicholas Nethercote | -6/+6 | |
| This is a [breaking-change] for libsyntax. | ||||
| 2016-09-26 | make emit_feature_err take a ParseSess | Tim Neumann | -1/+1 | |
| 2016-09-04 | Replace `_, _` with `..` | Vadim Petrochenkov | -1/+1 | |
| 2016-08-12 | run rustfmt on libsyntax_ext folder | Srinivas Reddy Thatiparthy | -40/+38 | |
| 2016-07-06 | Correct inline assembly clobber formatting. | CensoredUsername | -0/+3 | |
| Fixes the formatting for inline assembly clobbers used in the book. As this causes llvm to silently ignore the clobber an error is also added to catch cases in which the wrong formatting was used. Additionally a test case is added to confirm that this error works. | ||||
| 2016-06-26 | Rollup merge of #34339 - jseyfried:thin_vec, r=petrochenkov,Manishearth | Jeffrey Seyfried | -1/+1 | |
| Generalize and abstract `ThinAttributes` to `ThinVec<Attribute>`. | ||||
| 2016-06-26 | Rollup merge of #34385 - cgswords:tstream, r=nrc | Jeffrey Seyfried | -3/+4 | |
| syntax-[breaking-change] cc #31645 (Only breaking because ast::TokenTree is now tokenstream::TokenTree.) This pull request refactors TokenTrees into their own file as src/libsyntax/tokenstream.rs, moving them out of src/libsyntax/ast.rs, in order to prepare for an accompanying TokenStream implementation (per RFC 1566). | ||||
| 2016-06-23 | Move errors from libsyntax to its own crate | Jonathan Turner | -1/+1 | |
