| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-02-29 | Rename `syntax` to `rustc_ast` in source code | Vadim Petrochenkov | -2/+2 | |
| 2020-02-29 | Make it build again | Vadim Petrochenkov | -1/+1 | |
| 2020-02-28 | use is_empty() instead of len() == x to determine if structs are empty. | Matthias Krüger | -1/+1 | |
| 2020-02-07 | Remove HashStable impl for ast::Lifetime | John Kåre Alsaker | -7/+0 | |
| 2020-01-05 | Remove rustc_hir reexports in rustc::hir. | Mazdak Farrokhzad | -3/+2 | |
| 2020-01-04 | hir::{hir,def,itemlikevisit,pat_util,print} -> rustc_hir | Mazdak Farrokhzad | -10/+8 | |
| Also fix fallout wrt. HashStable. | ||||
| 2020-01-01 | Rename `syntax_pos` to `rustc_span` in source code | Vadim Petrochenkov | -10/+10 | |
| 2019-12-22 | Format the world | Mark Rousskov | -31/+22 | |
| 2019-11-30 | introduce crate rustc_feature and move active, accepted, and removed to it | Mazdak Farrokhzad | -2/+1 | |
| 2019-11-23 | Derive HashStable for TokenKind. | Camille GILLOT | -66/+1 | |
| 2019-11-23 | Rename StableHashingContextLike to HashStableContext. | Camille GILLOT | -2/+2 | |
| 2019-11-22 | Retire impl_stable_hash_for. | Camille GILLOT | -1/+6 | |
| 2019-11-22 | Retire impl_stable_hash_for_spanned. | Camille GILLOT | -2/+0 | |
| 2019-11-22 | Derives for ast. | Camille GILLOT | -17/+0 | |
| 2019-11-22 | Invert implementations for TokenKind. | Camille GILLOT | -49/+9 | |
| Also export a bunch of Token-related impls. | ||||
| 2019-11-22 | Export HashStable for DelimSpan, Lit and Path. | Camille GILLOT | -15/+0 | |
| 2019-11-22 | Derive HashStable_Generic for ExpnData. | Camille GILLOT | -11/+0 | |
| 2019-11-22 | Invert flow in impl HashStable of Span. | Camille GILLOT | -1/+0 | |
| 2019-11-22 | Add StableHashingContextLike to HashStable_Generic derive. | Camille GILLOT | -0/+4 | |
| 2019-11-17 | HashStable_Generic for librustc_target. | Camille GILLOT | -23/+0 | |
| 2019-11-17 | HashStable_Generic for libsyntax_pos. | Camille GILLOT | -48/+0 | |
| 2019-11-17 | HashStable literals in libsyntax. | Camille GILLOT | -19/+0 | |
| 2019-11-17 | Further HashStable_Generic derives. | Camille GILLOT | -47/+0 | |
| 2019-11-17 | Move impl HashStable for Symbol in libsyntax_pos. | Camille GILLOT | -20/+1 | |
| 2019-11-17 | Move impl HashStable for SymbolStr in libsyntax_pos. | Camille GILLOT | -19/+0 | |
| 2019-11-17 | Use proc_macro for HashStable derive in libsyntax. | Camille GILLOT | -33/+0 | |
| 2019-11-10 | Merge hir::ImplPolarity into ast::ImplPolarity. | Camille GILLOT | -0/+1 | |
| 2019-11-10 | Merge hir::IsAuto into ast::IsAuto. | Camille GILLOT | -0/+1 | |
| 2019-11-10 | Merge hir::CaptureClause into ast::CaptureBy. | Camille GILLOT | -0/+1 | |
| 2019-11-10 | Merge hir::GeneratorMovability into ast::Movability. | Camille GILLOT | -0/+1 | |
| 2019-11-08 | Rollup merge of #66190 - eddyb:primflt, r=Centril | Yuki Okushi | -1/+0 | |
| rustc_target: inline abi::FloatTy into abi::Primitive. This effectively undoes a small part of @oli-obk's #50967, now that the rest of the compiler doesn't use the `FloatTy` definition from `rustc_target`, post-#65884. | ||||
| 2019-11-07 | rustc_target: inline abi::FloatTy into abi::Primitive. | Eduard-Mihai Burtescu | -1/+0 | |
| 2019-11-07 | syntax::parser::token -> syntax::token | Mazdak Farrokhzad | -2/+2 | |
| 2019-11-07 | syntax: use distinct FloatTy from rustc_target. | Mazdak Farrokhzad | -3/+7 | |
| We also sever syntax's dependency on rustc_target as a result. This should slightly improve pipe-lining. Moreover, some cleanup is done in related code. | ||||
| 2019-11-06 | Make doc comments cheaper with `AttrKind`. | Nicholas Nethercote | -14/+11 | |
| `AttrKind` is a new type with two variants, `Normal` and `DocComment`. It's a big performance win (over 10% in some cases) because `DocComment` lets doc comments (which are common) be represented very cheaply. `Attribute` gets some new helper methods to ease the transition: - `has_name()`: check if the attribute name matches a single `Symbol`; for `DocComment` variants it succeeds if the symbol is `sym::doc`. - `is_doc_comment()`: check if it has a `DocComment` kind. - `{get,unwrap}_normal_item()`: extract the item from a `Normal` variant; panic otherwise. Fixes #60935. | ||||
| 2019-11-02 | Rename `LocalInternedString` as `SymbolStr`. | Nicholas Nethercote | -7/+7 | |
| It makes the relationship with `Symbol` clearer. The `Str` suffix matches the existing `Symbol::as_str()` method nicely, and is also consistent with it being a wrapper of `&str`. | ||||
| 2019-10-29 | Rollup merge of #65809 - roblabla:eficall-abi, r=nagisa | Mazdak Farrokhzad | -0/+1 | |
| Add new EFIAPI ABI Fixes #54527 Adds a new ABI, "efiapi", which reflects the calling convention as specified by [the current spec UEFI spec](https://uefi.org/sites/default/files/resources/UEFI%20Spec%202_7_A%20Sept%206.pdf#G6.999903). When compiling for x86_64, we should select the `win64` ABI, while on all other architectures (Itanium, x86, ARM and ARM64 and RISC-V), we should select the `C` ABI. Currently, this is done by just turning it into the C ABI everywhere except on x86_64, where it's turned into the win64 ABI. Should we prevent this ABI from being used on unsupported architectures, and if so, how would this be done? | ||||
| 2019-10-27 | rustc, rustc_passes: don't depend on syntax_expand. | Mazdak Farrokhzad | -1/+1 | |
| This is done by moving some data definitions to syntax::expand. | ||||
| 2019-10-25 | Add new EFIAPI ABI | roblabla | -0/+1 | |
| Adds a new ABI for the EFIAPI calls. This ABI should reflect the latest version of the UEFI specification at the time of commit (UEFI spec 2.8, URL below). The specification says that for x86_64, we should follow the win64 ABI, while on all other supported platforms (ia32, itanium, arm, arm64 and risc-v), we should follow the C ABI. To simplify the implementation, we will simply follow the C ABI on all platforms except x86_64, even those technically unsupported by the UEFI specification. https://uefi.org/sites/default/files/resources/UEFI_Spec_2_8_final.pdf | ||||
| 2019-10-25 | Rollup merge of #65074 - Rantanen:json-byte-pos, r=matklad | Mazdak Farrokhzad | -0/+19 | |
| Fix the start/end byte positions in the compiler JSON output Track the changes made during normalization in the `SourceFile` and use this information to correct the `start_byte` and `end_byte` fields in the JSON output. This should ensure the start/end byte fields can be used to index the original file, even if Rust normalized the source code for parsing purposes. Both CRLF to LF and BOM removal are handled with this one. The rough plan was discussed with @matklad in rust-lang-nursery/rustfix#176 - although I ended up going with `u32` offset tracking so I wouldn't need to deal with `u32 + i32` arithmetics when applying the offset to the span byte positions. Fixes #65029 | ||||
| 2019-10-21 | Fix the start/end byte positions in the compiler JSON output | Mikko Rantanen | -0/+19 | |
| 2019-10-21 | Remove `InternedString`. | Nicholas Nethercote | -9/+10 | |
| By using `LocalInternedString` instead for the few remaining uses. | ||||
| 2019-10-16 | move syntax::ext to new crate syntax_expand | Mazdak Farrokhzad | -1/+1 | |
| 2019-09-30 | syntax: Split `ast::Attribute` into container and inner parts | Vadim Petrochenkov | -6/+7 | |
| 2019-09-28 | Switch over all StableHash impls to new format | Mark Rousskov | -37/+12 | |
| 2019-09-26 | Rename `MetaItem.node` to `MetaItem.kind` | varkor | -1/+1 | |
| 2019-09-26 | Rename `Lit.node` to `Lit.kind` | varkor | -1/+1 | |
| 2019-09-07 | Support "soft" feature-gating using a lint | Vadim Petrochenkov | -1/+2 | |
| Use it for feature-gating `#[bench]` | ||||
| 2019-09-07 | Rollup merge of #63919 - matthewjasper:remove-gensymmed, r=petrochenkov | Mazdak Farrokhzad | -0/+8 | |
| Use hygiene for AST passes AST passes are now able to have resolve consider their expansions as if they were opaque macros defined either in some module in the current crate, or a fake empty module with `#[no_implicit_prelude]`. * Add an ExpnKind for AST passes. * Remove gensyms in AST passes. * Remove gensyms in`#[test]`, `#[bench]` and `#[test_case]`. * Allow opaque macros to define tests. * Move tests for unit tests to their own directory. * Remove `Ident::{gensym, is_gensymed}` - `Ident::gensym_if_underscore` still exists. cc #60869, #61019 r? @petrochenkov | ||||
| 2019-09-05 | Add an ExpnKind for AST passes | Matthew Jasper | -0/+8 | |
