about summary refs log tree commit diff
path: root/src/libsyntax_pos
AgeCommit message (Expand)AuthorLines
2019-06-06Some code cleanup and tidy/test fixesVadim Petrochenkov-3/+2
2019-06-06syntax: Remove duplicate span from `token::Ident`Vadim Petrochenkov-13/+17
2019-06-05Fixed rebase fallout.Alexander Regueiro-0/+1
2019-06-05Addressed points raised in review.Alexander Regueiro-2/+2
2019-06-05Add `modernize_and_adjust` methods.Nicholas Nethercote-0/+16
2019-06-05Add a useful comment about this file.Nicholas Nethercote-0/+20
2019-06-05Add `walk_chain`.Nicholas Nethercote-0/+15
2019-06-05Add `SyntaxContext::hygienic_eq`.Nicholas Nethercote-0/+8
2019-06-05Add and use `SyntaxContext::outer_and_expn_info`.Nicholas Nethercote-0/+10
2019-06-05Optimize `glob_adjust` and `reverse_glob_adjust`.Nicholas Nethercote-23/+27
2019-06-05Add `HygieneData::apply_mark`.Nicholas Nethercote-4/+6
2019-06-05Add `HygieneData::apply_mark_with_transparency`.Nicholas Nethercote-35/+35
2019-06-05Add `HygieneData::apply_mark_internal`.Nicholas Nethercote-55/+58
2019-06-05Add `HygieneData::marks`.Nicholas Nethercote-13/+15
2019-06-05Add `HygieneData::adjust`.Nicholas Nethercote-5/+9
2019-06-05Add `HygieneData::remove_mark`.Nicholas Nethercote-5/+7
2019-06-05Add `HygieneData::default_transparency`.Nicholas Nethercote-2/+6
2019-06-05Add some useful methods to `HygieneData`.Nicholas Nethercote-10/+28
2019-06-05Move `modern` calls inside `glob_adjust` and `reverse_glob_adjust`.Nicholas Nethercote-8/+8
2019-05-30Add `HygieneData::{outer,expn_info,is_descendant_of}` methods.Nicholas Nethercote-26/+24
2019-05-29Introduce and use `SyntaxContext::outer_expn_info()`.Nicholas Nethercote-10/+20
2019-05-29Introduce and use `Mark::outer_is_descendant_of()`.Nicholas Nethercote-3/+18
2019-05-27Use `Symbol` more in lint APIsOliver Scherer-0/+10
2019-05-27Use `Symbol` equality in `may_begin_with` and `parse_nt`.Nicholas Nethercote-0/+7
2019-05-27Use `Symbol` equality in `is_ident_named`.Nicholas Nethercote-0/+2
2019-05-27Pre-intern "0", "1", ..., "9", and use where appropriate.Nicholas Nethercote-2/+18
2019-05-27Pass symbols to `ExtCtxt::std_path` instead of strings.Nicholas Nethercote-0/+21
2019-05-27Avoid unnecessary internings.Nicholas Nethercote-0/+6
2019-05-27Avoid interning in `resolve_place_op`.Nicholas Nethercote-0/+4
2019-05-24Don't arena-allocate static symbols.Nicholas Nethercote-13/+6
2019-05-23syntax: Some code cleanupVadim Petrochenkov-0/+2
2019-05-23Auto merge of #60740 - petrochenkov:kw, r=nnethercotebors-43/+36
2019-05-22Restore the old behavior of the rustdoc keyword check + Fix rebaseVadim Petrochenkov-0/+5
2019-05-22Eliminate unnecessary `Ident::with_empty_ctxt`sVadim Petrochenkov-0/+5
2019-05-22Simplify use of keyword symbolsVadim Petrochenkov-43/+26
2019-05-22Allow null-pointer-optimized enums in FFI if their underlying representation ...Michael Bradshaw-0/+1
2019-05-22Rollup merge of #61003 - nnethercote:rm-InternedString-PartialEq-impls, r=pet...Mazdak Farrokhzad-37/+1
2019-05-21Move `edition` outside the hygiene lock and avoid accessing itJohn Kåre Alsaker-15/+15
2019-05-21Remove impls for `InternedString`/string equality.Nicholas Nethercote-37/+1
2019-05-21Auto merge of #60903 - nnethercote:mv-gensyms-from-Symbol-to-Ident, r=petroch...bors-35/+38
2019-05-20Remove `Symbol::gensym()`.Nicholas Nethercote-25/+31
2019-05-20Eliminate `Symbol::gensymed`.Nicholas Nethercote-5/+2
2019-05-20Move `is_gensymed` from `Symbol` to `Ident`.Nicholas Nethercote-5/+5
2019-05-20Auto merge of #60815 - nnethercote:use-Symbol-more-2, r=petrochenkovbors-2/+20
2019-05-20Introduce `LocalInternedString::intern`.Nicholas Nethercote-1/+12
2019-05-20Introduce `InternedString::intern`.Nicholas Nethercote-1/+8
2019-05-19Stop using gensyms in HIR loweringMatthew Jasper-0/+7
2019-05-17Avoid unnecessary interning in `DefPathData::as_interned_str()`.Nicholas Nethercote-0/+7
2019-05-17Avoid unnecessary interning in `Ident::from_str()` calls.Nicholas Nethercote-0/+2
2019-05-17Change `rustc::util::common::FN_OUTPUT_NAME` to a `Symbol`.Nicholas Nethercote-0/+1