about summary refs log tree commit diff
path: root/compiler/rustc_builtin_macros/src/cfg_eval.rs
AgeCommit message (Expand)AuthorLines
2024-08-01Distinguish the two kinds of token range.Nicholas Nethercote-1/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-5/+4
2024-07-22Avoid passing state that will not be visitedOli Scherer-4/+4
2024-07-22Always pass the visitor as the first argument to walk* functionsOli Scherer-14/+25
2024-07-22Sync `mut_visit` function names with immut `visit` ones (s/noop_visit/walk/)Oli Scherer-14/+14
2024-07-22Make function items in mut visitors all go through the same visit_fn function...Oli Scherer-4/+4
2024-07-22Merge impl and trait item mut visitor methods to mirror immut visitorOli Scherer-17/+15
2024-07-07Rename some attribute types for consistency.Nicholas Nethercote-1/+1
2024-07-02Simplify `CfgEval`.Nicholas Nethercote-10/+8
2024-06-05Remove `stream_to_parser`.Nicholas Nethercote-1/+1
2024-04-30Remove `extern crate tracing` from numerous crates.Nicholas Nethercote-0/+1
2024-04-25ast: Generalize item kind visitingVadim Petrochenkov-3/+3
2024-03-05Use `ControlFlow` in AST visitors.Jason Newcomb-33/+33
2024-03-05Rename all `ParseSess` variables/fields/lifetimes as `psess`.Nicholas Nethercote-2/+1
2024-01-08Make `DiagnosticBuilder::emit` consuming.Nicholas Nethercote-1/+1
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-14/+14
2023-08-11rustc: Move `features` from `Session` to `GlobalCtxt`Vadim Petrochenkov-1/+2
2023-05-24Use `Option::is_some_and` and `Result::is_ok_and` in the compilerMaybe Waffle-1/+1
2023-05-01Do not recover when parsing stmt in cfg-eval.Camille GILLOT-1/+3
2022-10-23Workaround unstable stmt_expr_attributes for method receiver expressions.Camille GILLOT-1/+8
2022-09-13Emit an error instead of reconstructing token stream.Camille GILLOT-28/+36
2022-09-09Rename `AttrAnnotatedToken{Stream,Tree}`.Nicholas Nethercote-3/+3
2022-05-22rustc_parse: Move AST -> TokenStream conversion logic to `rustc_ast`Vadim Petrochenkov-10/+1
2022-05-20Remove `crate` visibility usage in compilerJacob Pratt-2/+2
2022-05-11ast: Introduce some traits to get AST node properties genericallyVadim Petrochenkov-8/+3
2022-03-30Spellchecking some commentsYuri Astrakhan-1/+1
2022-03-03Rollup merge of #94433 - Urgau:check-cfg-allowness, r=petrochenkovDylan DPC-2/+4
2022-03-01Improve allowness of the unexpected_cfgs lintLoïc BRANSTETT-2/+4
2022-03-01compiler: fix some typoscuishuang-1/+1
2021-12-15Add a lint for duplicated attributes.Ethiraric-1/+2
2021-12-01Rollup merge of #91313 - petrochenkov:cratexp, r=Aaron1011Matthias Krüger-0/+5
2021-11-28Avoid uneccessary clone of AnnotatableAlan Egerton-22/+30
2021-11-28expand: Turn `ast::Crate` into a first class expansion targetVadim Petrochenkov-0/+5
2021-09-24derive: Do not configure or clone items unless necessaryVadim Petrochenkov-15/+14
2021-06-20cfg_eval: Replace multiple `unwrap`s with a single `unwrap`Vadim Petrochenkov-24/+24
2021-06-20expand: Move some more derive logic to `rustc_builtin_macros`Vadim Petrochenkov-6/+5
2021-04-11Implement token-based handling of attributes during expansionAaron Hill-55/+167
2021-03-16ast/hir: Rename field-related structuresVadim Petrochenkov-12/+12
2021-03-07rustc_builtin_macros: Share some more logic between `derive` and `cfg_eval`Vadim Petrochenkov-8/+11
2021-03-07cfg_eval: Configure everything through mutable visitor methodsVadim Petrochenkov-70/+27
2021-03-07Move full configuration logic from `rustc_expand` to `rustc_builtin_macros`Vadim Petrochenkov-4/+172
2021-03-06Implement built-in attribute macro `#[cfg_eval]`Vadim Petrochenkov-0/+29