aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_expand/src/builtin_macro.rs
Commit message (Collapse)AuthorAgeFilesLines
* Implment include macroEdwin Cheng2020-03-061-6/+46
|
* Fix whitespace in testsEdwin Cheng2020-03-041-2/+2
|
* Implement concat macroEdwin Cheng2020-03-031-36/+90
|
* Add LazyMacroIdEdwin Cheng2020-03-031-1/+5
|
* More manual clippy fixesKirill Bulatov2020-02-181-7/+4
|
* Run cargo +nightly fix --clippy -Z unstable-optionsKirill Bulatov2020-02-181-2/+2
|
* Use dummy value for line! and column! macroEdwin Cheng2020-01-141-83/+13
|
* Use dummy value for macro file in bulitin macrosEdwin Cheng2020-01-111-2/+10
|
* Add dummy implementations of env! and option_env! builtinsFlorian Diebold2019-12-211-43/+95
| | | | | | They don't do anything except return the correct type. Also refactor the builtin macro tests a bit.
* Clippy lintskjeremy2019-12-201-1/+1
|
* Remove useless clonekjeremy2019-12-201-1/+1
|
* Rename N! to name!Florian Diebold2019-12-131-1/+1
|
* Add macros for known names and pathsFlorian Diebold2019-12-131-8/+8
|
* Move traits to the new locAleksey Kladov2019-12-121-1/+4
|
* Fix expansion of format_argsFlorian Diebold2019-12-081-6/+13
|
* Remove MacroFileKindEdwin Cheng2019-12-081-5/+4
|
* Implement format_args more properlyFlorian Diebold2019-12-061-4/+43
|
* Add stub implementation of format_args{_nl} macrosFlorian Diebold2019-12-061-1/+18
| | | | Just enough to fix the huge amount of type mismatches they cause.
* Add expansion infrastructure for derive macrosFlorian Diebold2019-12-051-19/+18
|
* Merge #2362bors[bot]2019-11-251-0/+38
|\ | | | | | | | | | | | | | | 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 Kolb2019-11-251-0/+38
| |
* | Fix panic during the expansion of `column!`Marco Groppo2019-11-241-5/+16
|/
* Use macro for all the thingsEdwin Cheng2019-11-231-48/+31
|
* Rename BuiltinExpander to BuiltinFnLikeExpanderEdwin Cheng2019-11-231-9/+9
|
* Refactor builtin macroEdwin Cheng2019-11-221-18/+124
|
* Expand column!()Jeremy Kolb2019-11-221-1/+43
|
* Expand file! to dummy ""kjeremy2019-11-221-1/+25
|
* Add support for Stringify builtin macroPiotr Szpetkowski2019-11-221-0/+27
|
* Add MacroDefKindEdwin Cheng2019-11-111-6/+2
|
* Add line macro and testsEdwin Cheng2019-11-111-6/+64
|
* Add basic bultin macro infrastructureEdwin Cheng2019-11-111-0/+26