about summary refs log tree commit diff
path: root/src/libsyntax_pos/lib.rs
AgeCommit message (Expand)AuthorLines
2018-06-27Use u32 instead of usize of encoding byte count of multi-byte chars.Michael Woerister-3/+17
2018-06-27Make FileMap::{lines, multibyte_chars, non_narrow_chars} non-mutable.Michael Woerister-70/+88
2018-06-26migrate codebase to `..=` inclusive range patternsZack M. Davis-2/+2
2018-06-23hygiene: Merge `NameAndSpan` into `ExpnInfo`Vadim Petrochenkov-21/+18
2018-05-18Auto merge of #50307 - petrochenkov:keyhyg2, r=nikomatsakisbors-0/+8
2018-05-18Auto merge of #50847 - Mark-Simulacrum:rollup, r=Mark-Simulacrumbors-0/+7
2018-05-17Turn some functions from `token.rs` into methods on `Ident`Vadim Petrochenkov-0/+6
2018-05-17Move definition of `Edition` from libsyntax to libsyntax_posVadim Petrochenkov-0/+2
2018-05-17Rollup merge of #50610 - estebank:fmt-str, r=KimundiMark Simulacrum-0/+7
2018-05-14Remove `StringReader::col`.Nicholas Nethercote-0/+9
2018-05-13Inline `char_at()` and `record_width`.Nicholas Nethercote-0/+1
2018-05-10Improve format string errorsEsteban Küber-0/+7
2018-05-10Allocate Symbol strings from an arenaJohn Kåre Alsaker-0/+1
2018-05-03Always inline simple BytePos and CharPos methods.Nicholas Nethercote-0/+10
2018-04-26Fix review nitsbobtwinkles-1/+1
2018-04-23Implement parent() on `syntax_pos::Span`bobtwinkles-0/+6
2018-04-08Move deny(warnings) into rustbuildMark Simulacrum-1/+0
2018-04-07Auto merge of #49661 - alexcrichton:bump-bootstrap, r=nikomatsakisbors-1/+0
2018-04-06Use `Span` instead of `SyntaxContext` in `Ident`Vadim Petrochenkov-1/+47
2018-04-05Bump the bootstrap compiler to 1.26.0 betaAlex Crichton-1/+0
2018-03-26Stabilize i128_typeMark Mansi-1/+1
2018-03-23Rollup merge of #49030 - Zoxc:misc, r=michaelwoeristerAlex Crichton-1/+5
2018-03-17Make Span and Symbol implement Send and SyncJohn Kåre Alsaker-1/+5
2018-03-17Rename `Span::empty` to `Span::shrink_to_lo`, add `Span::shrink_to_hi`Vadim Petrochenkov-2/+9
2018-03-15Make FileMap thread-safeJohn Kåre Alsaker-30/+37
2018-03-14Remove syntax and syntax_pos thread localsJohn Kåre Alsaker-1/+22
2018-03-05while let all the thingsleonardo.yvens-6/+1
2018-03-02Replace Rc with Lrc for shared dataJohn Kåre Alsaker-8/+8
2018-02-28Rollup merge of #48359 - jsgf:remap-path-prefix, r=sanxiynManish Goregaokar-1/+1
2018-02-22Implement --remap-path-prefixJeremy Fitzhardinge-1/+1
2018-02-18Fix up tests and typosSeiichi Uchida-1/+1
2018-02-18Replace dummy spans with empty spansSeiichi Uchida-0/+6
2018-02-02Rollup merge of #47942 - estebank:macro-spans, r=nikomatsakis Minimize weird ...kennytm-6/+17
2018-02-01Minimize weird spans involving macro contextEsteban Küber-6/+17
2018-01-27end_point handling multibyte characters correctly.David Wood-16/+0
2018-01-27Moved overflow check into end_point function.David Wood-1/+3
2017-12-19incr.comp.: Precompute small hash for filenames to save some work.Michael Woerister-5/+21
2017-12-15incr.comp.: Revert hashing optimization that caused regression.Michael Woerister-33/+0
2017-12-14incr.comp.: Do less hashing per Span.Michael Woerister-12/+44
2017-12-14Use PathBuf instead of String where applicableOliver Schneider-10/+80
2017-12-06Auto merge of #45953 - estebank:tab-4, r=nikomatsakisbors-3/+12
2017-12-01incr.comp.: Store Spans as (file,line,col,length) in incr.comp. cache.Michael Woerister-0/+5
2017-11-24Display `\t` in diagnostics code as four spacesEsteban Küber-3/+12
2017-11-03Display spans correctly when there are non-half-width charactersWonwoo Choi-4/+91
2017-10-29Optimize some span operationsVadim Petrochenkov-25/+52
2017-10-10Rollup merge of #44775 - MaloJaffre:debug-struct, r=sfacklerkennytm-2/+5
2017-10-09Refactor to use `debug_struct` in several Debug implsMalo Jaffré-2/+5
2017-10-03Rename FileMap::path and change to an OptionPhilip Craig-5/+6
2017-09-30Don't use remapped path when loading modules and include filesPhilip Craig-0/+6
2017-09-23Compress "small" spans to 32 bits and intern "large" spansVadim Petrochenkov-26/+38