Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Remove unnecessary len parameter for Name::new_inline_ascii | Florian Diebold | 2019-12-06 | 1 | -59/+59 | |
| | | | | | I assume it was previously required because `len` was not const, but that doesn't seem to be a problem anymore. | |||||
* | Add stub implementation of format_args{_nl} macros | Florian Diebold | 2019-12-06 | 2 | -1/+20 | |
| | | | | Just enough to fix the huge amount of type mismatches they cause. | |||||
* | Implement all the other built-in derives | Florian Diebold | 2019-12-05 | 2 | -15/+86 | |
| | | | | Since as long as we're not implementing the bodies, they all work the same way. | |||||
* | Implement derive(Copy, Clone) properly (well, kind of) | Florian Diebold | 2019-12-05 | 2 | -7/+190 | |
| | ||||||
* | Add expansion infrastructure for derive macros | Florian Diebold | 2019-12-05 | 7 | -51/+170 | |
| | ||||||
* | Replace `ra_hir_expand::either` with crate | ice1000 | 2019-12-03 | 3 | -58/+3 | |
| | ||||||
* | Infer range types | oxalica | 2019-11-28 | 1 | -0/+6 | |
| | ||||||
* | Use InFile for AstId | Aleksey Kladov | 2019-11-28 | 1 | -35/+4 | |
| | ||||||
* | Rename Source -> InFile | Aleksey Kladov | 2019-11-28 | 2 | -23/+23 | |
| | ||||||
* | Hide MacroCallLoc | Edwin Cheng | 2019-11-26 | 1 | -2/+12 | |
| | ||||||
* | :arrow_up: salsa | Aleksey Kladov | 2019-11-26 | 1 | -0/+4 | |
| | ||||||
* | Merge #2362 | bors[bot] | 2019-11-25 | 2 | -0/+39 | |
|\ | | | | | | | | | | | | | | | 2362: Expand compile_error! r=edwin0cheng a=kjeremy Does not validate that the input is a string literal. I thought that I could `match_ast!` against the `macro_args` but that did not work. Even if it had I am not sure which error would be appropriate. Co-authored-by: Jeremy Kolb <[email protected]> | |||||
| * | Expand compile_error! | Jeremy Kolb | 2019-11-25 | 2 | -0/+39 | |
| | | ||||||
* | | Fix panic during the expansion of `column!` | Marco Groppo | 2019-11-24 | 1 | -5/+16 | |
|/ | ||||||
* | Use macro for all the things | Edwin Cheng | 2019-11-23 | 1 | -48/+31 | |
| | ||||||
* | Rename BuiltinExpander to BuiltinFnLikeExpander | Edwin Cheng | 2019-11-23 | 3 | -14/+14 | |
| | ||||||
* | Refactor builtin macro | Edwin Cheng | 2019-11-22 | 1 | -18/+124 | |
| | ||||||
* | Add TestDB | Edwin Cheng | 2019-11-22 | 2 | -0/+53 | |
| | ||||||
* | Expand column!() | Jeremy Kolb | 2019-11-22 | 2 | -1/+44 | |
| | ||||||
* | Expand file! to dummy "" | kjeremy | 2019-11-22 | 2 | -1/+26 | |
| | ||||||
* | Add support for Stringify builtin macro | Piotr Szpetkowski | 2019-11-22 | 2 | -0/+28 | |
| | ||||||
* | Add MacroFileKind::Statements | Edwin Cheng | 2019-11-21 | 2 | -0/+2 | |
| | ||||||
* | Rename with_ast -> with_value | Aleksey Kladov | 2019-11-20 | 1 | -4/+4 | |
| | ||||||
* | Rename Source::ast -> Source::value | Aleksey Kladov | 2019-11-20 | 2 | -17/+21 | |
| | ||||||
* | Fixed a bug for string lit in quote | Edwin Cheng | 2019-11-19 | 1 | -4/+4 | |
| | ||||||
* | Collapse TokenMap and RevTokenMap | Aleksey Kladov | 2019-11-18 | 2 | -7/+5 | |
| | ||||||
* | Token-based reverse-mapping | Aleksey Kladov | 2019-11-18 | 1 | -29/+22 | |
| | ||||||
* | More correct expansion mapping | Aleksey Kladov | 2019-11-17 | 1 | -14/+30 | |
| | | | | We can't really map arbitrary ranges, we only can map tokens | |||||
* | Make shift an implementation detail of mbe | Aleksey Kladov | 2019-11-17 | 2 | -9/+16 | |
| | ||||||
* | Don't store shift redundantly | Aleksey Kladov | 2019-11-17 | 1 | -6/+5 | |
| | ||||||
* | Goto definition works inside macros | Aleksey Kladov | 2019-11-16 | 1 | -0/+9 | |
| | ||||||
* | Prepare SourceAnalyzer for macros | Aleksey Kladov | 2019-11-15 | 1 | -2/+8 | |
| | ||||||
* | Sourcify some more | Aleksey Kladov | 2019-11-15 | 1 | -0/+2 | |
| | ||||||
* | Sourcify some things | Aleksey Kladov | 2019-11-15 | 1 | -0/+4 | |
| | | | | | If we want to support macros properly, we need to get rid of those FileIds everywhere... | |||||
* | Heed the advice of rustc's into_iter() warning | memoryruins | 2019-11-15 | 1 | -4/+2 | |
| | ||||||
* | Handle macro-generated expressions slightly less wrong | Aleksey Kladov | 2019-11-14 | 1 | -1/+4 | |
| | ||||||
* | Add MacroDefKind | Edwin Cheng | 2019-11-11 | 4 | -35/+19 | |
| | ||||||
* | Add line macro and tests | Edwin Cheng | 2019-11-11 | 2 | -7/+65 | |
| | ||||||
* | Add quote macro | Edwin Cheng | 2019-11-11 | 2 | -0/+262 | |
| | ||||||
* | Add basic bultin macro infrastructure | Edwin Cheng | 2019-11-11 | 5 | -22/+109 | |
| | ||||||
* | Remove typed macro parsing API | Aleksey Kladov | 2019-11-09 | 1 | -8/+7 | |
| | | | | | We do type-erasure on every path anyway, so it doesn't make much sense to duplicate this function for every type | |||||
* | Minor cleanup | Aleksey Kladov | 2019-11-09 | 1 | -6/+8 | |
| | ||||||
* | Remove map_ranges in RevTokenMap | Edwin Cheng | 2019-11-09 | 2 | -34/+33 | |
| | ||||||
* | Refactor and simpfily | Edwin Cheng | 2019-11-08 | 2 | -82/+38 | |
| | ||||||
* | Refactor and add more comments | Edwin Cheng | 2019-11-08 | 1 | -8/+6 | |
| | ||||||
* | Refactor a bit | Edwin Cheng | 2019-11-04 | 1 | -2/+1 | |
| | ||||||
* | Use macro_rules shift to map text ranges | Edwin Cheng | 2019-11-04 | 1 | -4/+9 | |
| | ||||||
* | Use ? and destructing to simplifed long code | Edwin Cheng | 2019-11-04 | 1 | -19/+17 | |
| | ||||||
* | Rename and fix typos | Edwin Cheng | 2019-11-04 | 2 | -10/+20 | |
| | ||||||
* | Remove dbg! | Edwin Cheng | 2019-11-04 | 1 | -4/+0 | |
| |