about summary refs log tree commit diff
path: root/compiler/rustc_ast/src/attr/mod.rs
AgeCommit message (Expand)AuthorLines
2023-03-22rustc: Remove unused `Session` argument from some attribute functionsVadim Petrochenkov-0/+22
2023-02-21Use `ThinVec` in various AST types.Nicholas Nethercote-5/+5
2023-02-11rustc_ast: Merge impls and reorder methods for attributes and meta itemsVadim Petrochenkov-311/+307
2023-02-01ast: Optimize list and value extraction primitives for attributesVadim Petrochenkov-23/+43
2023-01-05Fix `uninlined_format_args` for some compiler cratesnils-1/+1
2022-12-05Remove three uses of `LitKind::synthesize_token_lit`.Nicholas Nethercote-2/+3
2022-12-05Remove `mk_name_value_item{,_str}`.Nicholas Nethercote-15/+0
2022-12-02Remove `token::Lit` from `ast::MetaItemLit`.Nicholas Nethercote-1/+3
2022-12-02Rename `LitKind::to_token_lit` as `LitKind::synthesize_token_lit`.Nicholas Nethercote-2/+2
2022-11-29Avoid more `MetaItem`-to-`Attribute` conversions.Nicholas Nethercote-115/+52
2022-11-29Inline and remove `MetaItemLit::from_lit_kind`.Nicholas Nethercote-2/+2
2022-11-28Rename `NestedMetaItem::[Ll]iteral` as `NestedMetaItem::[Ll]it`.Nicholas Nethercote-6/+6
2022-11-28Rename `ast::Lit` as `ast::MetaItemLit`.Nicholas Nethercote-9/+9
2022-11-27Prefer doc comments over `//`-comments in compilerMaybe Waffle-5/+7
2022-11-23Fix an ICE parsing a malformed attribute.Nicholas Nethercote-3/+6
2022-11-22Split `MacArgs` in two.Nicholas Nethercote-26/+28
2022-11-21Remove `ref` patterns from `rustc_ast`Maybe Waffle-46/+44
2022-11-17Use `ThinVec` in `ast::Path`.Nicholas Nethercote-4/+3
2022-11-16Use `token::Lit` in `ast::ExprKind::Lit`.Nicholas Nethercote-5/+7
2022-09-14add debug assertion for max `attr_id`SparrowLii-1/+24
2022-09-14make `mk_attr_id` part of `ParseSess`SparrowLii-15/+32
2022-09-13Rollup merge of #101752 - GuillaumeGomez:improve-attr-docs, r=lqdMatthias Krüger-1/+11
2022-09-12Improve Attribute doc methodsGuillaume Gomez-1/+11
2022-09-09Rename `{Create,Lazy}TokenStream` as `{To,Lazy}AttrTokenStream`.Nicholas Nethercote-3/+3
2022-09-09Change return type of `Attribute::tokens`.Nicholas Nethercote-9/+7
2022-09-09Rename `AttrAnnotatedToken{Stream,Tree}`.Nicholas Nethercote-3/+3
2022-09-09Move `Spacing` out of `AttrAnnotatedTokenStream`.Nicholas Nethercote-7/+6
2022-09-07Add documentation for Attr::is_doc_commentGuillaume Gomez-0/+2
2022-08-22Use `AttrVec` in more places.Nicholas Nethercote-2/+1
2022-08-17Rollup merge of #100018 - nnethercote:clean-up-LitKind, r=petrochenkovMatthias Krüger-7/+1
2022-08-16Avoid code duplication in `{MetaItem,MetaItemKind}::value_str`.Nicholas Nethercote-7/+1
2022-08-16Shrink `ast::Attribute`.Nicholas Nethercote-17/+26
2022-07-29Remove `TreeAndSpacing`.Nicholas Nethercote-35/+36
2022-05-20Remove `crate` visibility usage in compilerJacob Pratt-1/+1
2022-05-18use `CursorRef` more, to not to clone `Tree`sklensy-1/+1
2022-05-05Overhaul `MacArgs::Eq`.Nicholas Nethercote-4/+19
2022-04-28rustc_ast: Harmonize delimiter naming with `proc_macro::Delimiter`Vadim Petrochenkov-5/+5
2022-04-19rustc_metadata: Store a flag telling whether an item may have doc links in it...Vadim Petrochenkov-0/+5
2022-04-07Shrink `Nonterminal`.Nicholas Nethercote-1/+1
2022-02-262 - Make more use of let_chainsCaio-6/+5
2022-02-03compiler: clippy::complexity fixesMatthias Krüger-1/+1
2022-01-19Correctly handle starts in block doc commentsGuillaume Gomez-0/+11
2021-12-26Add Attribute::meta_kindJakub Beránek-4/+25
2021-10-17rustc_span: `Ident::invalid` -> `Ident::empty`Vadim Petrochenkov-3/+3
2021-09-10Keep a parent LocalDefId in SpanData.Camille GILLOT-1/+1
2021-08-25Use if-let guards in the codebaseLéo Lanteri Thauvin-5/+5
2021-04-11Implement token-based handling of attributes during expansionAaron Hill-4/+10
2021-03-27Remove (lots of) dead codeJoshua Nelson-39/+1
2021-03-16Allow registering tool lints with `register_tool`Joshua Nelson-4/+0
2021-03-11Inline Attribute::has_nameTomasz Miąsko-0/+1