about summary refs log tree commit diff
path: root/compiler/rustc_expand/src/proc_macro_server.rs
AgeCommit message (Expand)AuthorLines
2022-11-16Use `token::Lit` in `ast::ExprKind::Lit`.Nicholas Nethercote-10/+7
2022-11-11Introduce `ExprKind::IncludedBytes`clubby789-0/+7
2022-10-12Auto merge of #102692 - nnethercote:TokenStreamBuilder, r=Aaron1011bors-63/+63
2022-10-05Remove `TokenStreamBuilder`.Nicholas Nethercote-33/+34
2022-10-05Rearrange `to_internal`.Nicholas Nethercote-41/+40
2022-10-04Improve spans when splitting multi-char operator tokens for proc macros.Nicholas Nethercote-2/+14
2022-10-03Clarify operator splitting.Nicholas Nethercote-2/+6
2022-09-01Auto merge of #100210 - mystor:proc_macro_diag_struct, r=eddybbors-36/+17
2022-08-16Rename some things related to literals.Nicholas Nethercote-6/+12
2022-08-06proc_macro/bridge: send diagnostics over the bridge as a structNika Layzell-36/+17
2022-07-29Remove `TreeAndSpacing`.Nicholas Nethercote-25/+24
2022-07-18proc_macro: Move subspan to be a method on Span in the bridgeNika Layzell-37/+36
2022-07-18proc_macro: stop using a remote object handle for LiteralNika Layzell-181/+149
2022-07-18proc_macro: stop using a remote object handle for IdentNika Layzell-57/+34
2022-07-10Auto merge of #98463 - mystor:expand_expr_bool, r=eddybbors-0/+4
2022-06-28review changesNika Layzell-104/+95
2022-06-26proc_macro: stop using a remote object handle for GroupNika Layzell-214/+160
2022-06-26proc_macro: stop using a remote object handle for PunctNika Layzell-60/+16
2022-06-26proc_macro: Rename ExpnContext to ExpnGlobals, and unify method on Server traitNika Layzell-17/+10
2022-06-25proc_macro: remove Context trait, and put span methods directly on ServerNika Layzell-4/+4
2022-06-25proc_macro: cache static spans in client's thread-local stateNika Layzell-15/+20
2022-06-24proc_macro: Fix expand_expr expansion of bool literalsNika Layzell-0/+4
2022-06-20Add blank lines between methods in `proc_macro_server.rs`.Nicholas Nethercote-0/+54
2022-06-20Remove `Cursor::append`.Nicholas Nethercote-3/+3
2022-06-18Auto merge of #98186 - mystor:tokenstream_as_vec_tt, r=eddybbors-44/+55
2022-06-17review fixupsNika Layzell-3/+4
2022-06-17Try to reduce codegen complexity of TokenStream's FromIterator and Extend implsNika Layzell-2/+2
2022-06-17proc_macro: reduce the number of messages required to create, extend, and ite...Nika Layzell-44/+54
2022-06-16Support lint expectations for `--force-warn` lints (RFC 2383)xFrednet-1/+1
2022-05-22rustc_parse: Move AST -> TokenStream conversion logic to `rustc_ast`Vadim Petrochenkov-6/+4
2022-05-18use `CursorRef` more, to not to clone `Tree`sklensy-1/+1
2022-05-11ast: Introduce some traits to get AST node properties genericallyVadim Petrochenkov-1/+1
2022-04-28rustc_ast: Harmonize delimiter naming with `proc_macro::Delimiter`Vadim Petrochenkov-15/+15
2022-04-05span: move `MultiSpan`David Wood-2/+2
2022-04-04Rollup merge of #95343 - dtolnay:literals, r=petrochenkovDylan DPC-8/+8
2022-03-26Use str and char's Debug impl to format literalsDavid Tolnay-8/+8
2022-03-26proc-macro: Stop wrapping `ident` matchers into groupsVadim Petrochenkov-106/+4
2022-03-20Take &mut Diagnostic in emit_diagnostic.Camille GILLOT-2/+2
2022-03-03all: fix some typoscuishuang-1/+1
2022-02-23rustc_errors: let `DiagnosticBuilder::emit` return a "guarantee of emission".Eduard-Mihai Burtescu-1/+3
2022-02-19Adopt let else in more placesest31-3/+2
2022-01-09eplace usages of vec![].into_iter with [].into_iterLucas Kent-3/+3
2021-12-15Remove unnecessary sigils around `Symbol::as_str()` calls.Nicholas Nethercote-2/+2
2021-12-04Use IntoIterator for array impl everywhere.Mara Bos-3/+2
2021-11-12proc_macro: Add an expand_expr method to TokenStreamNika Layzell-55/+107
2021-11-08Don't abort compilation after giving a lint errorJoshua Nelson-1/+1
2021-09-22Remove Symbol::lenbjorn3-1/+1
2021-09-11Auto merge of #84373 - cjgillot:resolve-span, r=michaelwoerister,petrochenkovbors-1/+1
2021-09-10Keep a parent LocalDefId in SpanData.Camille GILLOT-1/+1
2021-09-10Rollup merge of #86165 - m-ou-se:proc-macro-span-shrink, r=dtolnayManish Goregaokar-0/+6