Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |
| | ||||||
* | Add parent_expansion to HirFileId | Edwin Cheng | 2019-11-04 | 1 | -0/+19 | |
| | ||||||
* | Add macro_expansion_info in hir_expand | Edwin Cheng | 2019-11-04 | 2 | -19/+109 | |
| | ||||||
* | Move diagnostics to hir_expand | Aleksey Kladov | 2019-11-02 | 2 | -0/+86 | |
| | ||||||
* | Move Source to hir_expand | Aleksey Kladov | 2019-11-02 | 1 | -1/+19 | |
| | ||||||
* | move hygiene to hir_expand | Aleksey Kladov | 2019-10-30 | 2 | -11/+47 | |
| | ||||||
* | push name down to hir_expand | Aleksey Kladov | 2019-10-30 | 2 | -0/+143 | |
| | ||||||
* | push either to hir_expand | Aleksey Kladov | 2019-10-30 | 2 | -0/+55 | |
| | ||||||
* | move raw_items to hir_def | Aleksey Kladov | 2019-10-30 | 1 | -4/+4 | |
| | ||||||
* | cleanup | Aleksey Kladov | 2019-10-29 | 1 | -14/+8 | |
| | ||||||
* | switch expand to dyn Trait | Aleksey Kladov | 2019-10-29 | 2 | -9/+9 | |
| | ||||||
* | reduce visibility | Aleksey Kladov | 2019-10-29 | 1 | -2/+2 | |
| |