about summary refs log tree commit diff
path: root/compiler/rustc_builtin_macros/src/asm.rs
AgeCommit message (Expand)AuthorLines
2025-09-14Move more early buffered lints to dyn lint diagnostics (1/N)León Orell Valerian Liehr-3/+2
2025-08-09remove `P`Deadbeef-7/+6
2025-05-27move asm parsing code into `rustc_parse`Folkert de Vries-385/+2
2025-05-27support `#[cfg(...)]` on arguments to the `asm!` macrosFolkert de Vries-4/+84
2025-05-18add `AsmOptions` with some named fieldsFolkert de Vries-17/+29
2025-05-18rename to get rid of the 'raw' conceptFolkert de Vries-63/+64
2025-05-18delay error for unsupported optionsFolkert de Vries-14/+2
2025-05-18attempt to have rustfmt use the new logicFolkert de Vries-17/+8
2025-05-18a new parser generating the exact same error messagesFolkert de Vries-150/+226
2025-05-17extract operand parserFolkert de Vries-83/+93
2025-05-17determine later whether an explicit reg was usedFolkert de Vries-11/+9
2025-04-01Move `ast::Item::ident` into `ast::ItemKind`.Nicholas Nethercote-2/+1
2025-01-28parse_format optimize import useMarijn Schouten-1/+1
2024-12-31Account for format_args in HiddenUnicodeCodepoints lintMichael Goulet-0/+1
2024-12-31Make parsed string literal fields namedMichael Goulet-2/+6
2024-12-19Speed up `Parser::expected_token_types`.Nicholas Nethercote-56/+56
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-2/+1
2024-11-24Support use of asm goto with outputs and `options(noreturn)`Gary Guo-1/+4
2024-10-06various fixes for `naked_asm!` implementationFolkert de Vries-16/+7
2024-10-06disallow `asm!` in `#[naked]` functionsFolkert de Vries-60/+2
2024-10-06implement `naked_asm` macroFolkert-42/+117
2024-09-27Rollup merge of #130917 - gurry:129503-ice-wrong-span-in-macros, r=chenyukangMatthias Krüger-1/+9
2024-09-27Fix error span when arg to asm!() is a macro callGurinder Singh-1/+9
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-2/+2
2024-09-12Rollup merge of #130235 - compiler-errors:nested-if, r=michaelwoeristerStuart Cook-6/+4
2024-09-11Also fix if in elseMichael Goulet-6/+4
2024-09-10disallow `naked_asm!` outside of `#[naked]` functionsFolkert de Vries-3/+8
2024-09-09bootstrap `naked_asm!` for `compiler-builtins`Folkert de Vries-0/+38
2024-08-14Use `impl PartialEq<TokenKind> for Token` more.Nicholas Nethercote-2/+2
2024-08-07Use more slice patterns inside the compilerLeón Orell Valerian Liehr-4/+3
2024-08-04Rollup merge of #128305 - folkertdev:asm-parser-unsupported-operand, r=AmanieuMatthias Krüger-8/+31
2024-07-29Reformat `use` declarations.Nicholas Nethercote-6/+5
2024-07-28improve error message when global asm uses inline asm operandsFolkert-8/+31
2024-07-27Rollup merge of #128207 - folkertdev:asm-parser-generalize, r=AmanieuTrevor Gross-22/+43
2024-07-26refactor the `if if`Folkert-3/+7
2024-07-25improve error message when `global_asm!` uses `asm!` optionsFolkert-22/+39
2024-07-24Use Cow<'static, str> for InlineAsmTemplatePiece::StringGnomedDev-3/+3
2024-06-25Migrate some rustc_builtin_macros to SessionDiagnostiche1pa-8/+5
2024-06-18Prefer `dcx` methods over fields or fields' methodsOli Scherer-4/+4
2024-05-21Rename buffer_lint_with_diagnostic to buffer_lintXiretza-2/+2
2024-05-21Convert uses of BuiltinLintDiag::Normal to custom variantsXiretza-4/+5
2024-04-26Move some functions from `rustc_expand` to `rustc_builtin_macros`.Nicholas Nethercote-2/+2
2024-03-28compiler: fix few needless_pass_by_ref_mut clippy lintsklensy-3/+3
2024-03-15Make `unexpected` always "return" `PResult<()>` & add `unexpected_any`Maybe Waffle-1/+1
2024-03-13delay expand macro bang when there has indeterminate pathbohan-32/+44
2024-03-08Rollup merge of #119365 - nbdd0121:asm-goto, r=AmanieuMatthias Krüger-0/+10
2024-03-05Rename all `ParseSess` variables/fields/lifetimes as `psess`.Nicholas Nethercote-6/+6
2024-03-04Tweak `parse_asm_args`.Nicholas Nethercote-5/+2
2024-02-25Add `ErrorGuaranteed` to `ast::ExprKind::Err`Lieselotte-36/+35
2024-02-25Rollup merge of #121060 - clubby789:bool-newtypes, r=cjgillotMatthias Krüger-1/+2