summary refs log tree commit diff
path: root/compiler/rustc_builtin_macros/src/asm.rs
AgeCommit message (Expand)AuthorLines
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
2024-02-24Forbid asm unwind to work with labelsGary Guo-0/+7
2024-02-24Add asm label support to AST and HIRGary Guo-0/+3
2024-02-20Add newtype for raw identsclubby789-1/+2
2024-02-20trigger `unsafe_code` on `global_asm!` invocationsKalle Wachsmuth-1/+1
2024-01-10Rename consuming chaining methods on `DiagnosticBuilder`.Nicholas Nethercote-2/+2
2024-01-08Use chaining for `DiagnosticBuilder` construction and `emit`.Nicholas Nethercote-7/+8
2024-01-08Make `DiagnosticBuilder::emit` consuming.Nicholas Nethercote-3/+3
2023-12-24Remove `ParseSess` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-1/+1
2023-12-24Remove `ExtCtxt` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-11/+12
2023-12-18Rename many `DiagCtxt` and `EarlyDiagCtxt` locals.Nicholas Nethercote-18/+18
2023-12-18Rename `ParseSess::span_diagnostic` as `ParseSess::dcx`.Nicholas Nethercote-5/+4
2023-07-30inline format!() args up to and including rustc_middleMatthias Krüger-9/+7
2023-07-23fix couple of clippy findings:Matthias Krüger-1/+1
2023-07-12Re-format let-else per rustfmt updateMark Rousskov-2/+1
2023-06-28fix typoHe1pa-1/+1
2023-06-25Migrate some rustc_builtin_macros to SessionDiagnosticHe1pa-8/+4
2023-06-16fix ICE on specific malformed asm clobber_abiasquared31415-5/+1
2023-05-16Avoid `&format("...")` calls in error message code.Nicholas Nethercote-3/+3