summary refs log tree commit diff
path: root/src/librustc_data_structures/indexed_vec.rs
AgeCommit message (Collapse)AuthorLines
2018-07-25parameterize `BitVector` and `BitMatrix` by their index typesNiko Matsakis-2/+8
2018-07-25implement `Step` for `Idx` typesNiko Matsakis-0/+29
This way, we can iterate over a `Range<T>` where `T: Idx`
2018-07-16Generate region values directly to reduce memory usage.David Wood-0/+18
Also modify `SparseBitMatrix` so that it does not require knowing the dimensions in advance, but instead grows on demand.
2018-07-12strengthen `Idx` to require `Ord + Hash`Niko Matsakis-1/+2
You should always be able to know that any `T` where `T: Idx` can be used in a `BTreeMap` and a `FxHashMap`.
2018-06-09convert type-check constraints into NLL constraints on the flyNiko Matsakis-0/+5
We used to accumulate a vector of type-check constraints, but now we generate them as we go, and just store the NLL-style `OutlivesConstraint` and `TypeTest` information.
2018-03-29Move RangeArguments to {core::std}::ops and rename to RangeBoundsSimon Sapin-4/+3
These unstable items are deprecated: * The `std::collections::range::RangeArgument` reexport * The `std::collections::range` module.
2018-03-19Convert SerializedDepGraph to be a struct-of-arraysWesley Wiser-0/+7
Fixes #47326
2018-03-13add `canonicalize` method to `InferCtxt` [VIC]Niko Matsakis-1/+1
2018-02-24Rollup merge of #48402 - eddyb:y-u-no-inline, r=nikomatsakisManish Goregaokar-0/+6
rustc_data_structures: add missing #[inline]. r? @nikomatsakis
2018-02-22Use Sparse bitsets instead of dense ones for NLL resultsSantiago Pastorino-0/+15
Fixes #48170
2018-02-21rustc_data_structures: add missing #[inline].Eduard-Mihai Burtescu-0/+6
2018-02-17fix more typos found by codespell.Matthias Krüger-1/+1
2017-12-21Make IndexVec implement Send and SyncJohn Kåre Alsaker-1/+1
2017-12-07Issue #46555 - Making IndexVec Send if its contents are SendDavid Teller-0/+4
2017-11-16IndexVec: add `'_` to make clear where borrowing is happeningNiko Matsakis-2/+2
2017-11-16make `RegionVid` implement `Idx` and use `IndexVec`Niko Matsakis-0/+5
2017-11-04Make DEBUG_FORMAT = custom workSantiago Pastorino-17/+17
Fixes #45763, ht by @durka
2017-11-01newindex_type macro: make index private by default and allow pub through configPaul Daniel Faria-48/+53
2017-11-01newtype_index: Support simpler serializable override, custom derive, and fix ↵Paul Daniel Faria-115/+202
mir_opt tests
2017-11-01Clean up macro argument matches so they satisfy tidy checksPaul Daniel Faria-14/+51
2017-11-01Add derive and doc comment capabilities to newtype_index macroPaul Daniel Faria-30/+106
2017-10-31change region display to `'_#Nr`, update the `newtype_index!` macroNiko Matsakis-16/+19
The macro now takes a format string. It no longer defaults to using the type name. Didn't seem worth going through contortions to maintain. I also changed most of the debug formats to be `foo[N]` instead of `fooN`.
2017-10-17Generate FirstStatementIndex using newtype_index macroSantiago Pastorino-2/+2
2017-10-11Split lines longer than 100 columnsPaul Faria-5/+10
2017-10-11Move const qualifier from brackets to constant values and remove comma from ↵Paul Faria-46/+35
after identifier
2017-10-08Improve newtype_index macro to handle description and constants consistentlyPaul Faria-20/+67
2017-10-04Generate ScopeId using newtype_index macroSantiago Pastorino-1/+2
2017-10-04Generate DepNodeIndexNew using newtype_index macroSantiago Pastorino-0/+7
2017-10-04Make newtype_index get debug_name using reflectionSantiago Pastorino-0/+4
2017-10-04Make newtype_index macro use full path to resolve constantsSantiago Pastorino-3/+3
2017-10-04Move newtype_index to rustc_data_structuresSantiago Pastorino-0/+25
2017-08-14Merge remote-tracking branch 'origin/master' into genAlex Crichton-0/+10
2017-08-11Make TypeckTables::type_dependent_defs use ItemLocalId instead of NodeId.Michael Woerister-0/+10
2017-08-10Merge remote-tracking branch 'origin/master' into genAlex Crichton-1/+1
2017-08-01Fixed all unnecessary muts in language coreIsaac van Bakel-1/+1
2017-07-28Generator literal supportJohn Kåre Alsaker-1/+1
2017-06-30Revert "Stabilize RangeArgument"Steven Fackler-1/+2
This reverts commit 143206d54d7558c2326212df99efc98110904fdb.
2017-06-24Stabilize RangeArgumentSteven Fackler-2/+1
Move it and Bound to core::ops while we're at it. Closes #30877
2017-05-28fix translation of MSVC funclets that loop to their own startAriel Ben-Yehuda-0/+7
2017-05-02Removal pass for anonymous parametersest31-1/+1
Removes occurences of anonymous parameters from the rustc codebase, as they are to be deprecated. See issue #41686 and RFC 1685.
2017-03-22Add resize() method to IndexVec.Michael Woerister-0/+7
2017-03-10Add extra methods to IndexVec and implement TypeFoldable for itJames Miller-0/+23
Adds `get`/`get_mut` accessors and `drain`/`drain_enumerated` iterators to IndexVec. Implements TypeFoldable for IndexVec.
2016-11-03A way to remove otherwise unused locals from MIRSimonas Kazlauskas-0/+15
Replaces the hack where a similar thing is done within trans.
2016-06-28refactor rustc_metadata to use CamelCase names and IndexVecAriel Ben-Yehuda-0/+6
2016-06-23add control flow graph and algorithms. add dominator to mirScott A Carr-1/+9
2016-06-09make the basic_blocks field privateAriel Ben-Yehuda-1/+20
2016-06-09introduce the type-safe IdxVec and use it instead of loose indexesAriel Ben-Yehuda-0/+209