]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gccrs: Fix the disorder struct and class in inline asm
authorbadumbatish <tanghocle456@gmail.com>
Mon, 19 Aug 2024 23:39:11 +0000 (16:39 -0700)
committerArthur Cohen <arthur.cohen@embecosm.com>
Wed, 19 Mar 2025 14:32:04 +0000 (15:32 +0100)
gcc/rust/ChangeLog:

* ast/rust-ast-full-decls.h (struct InlineAsmOperand):
Change to class
(class InlineAsmOperand): Change from struct
* hir/tree/rust-hir-full-decls.h (struct InlineAsmRegOrRegClass):
Removed from decl, used from AST
(struct AnonConst): new decl from rust-hir-expr.h
(class InlineAsmOperand): new decl from rust-hir-expr.h

gcc/rust/ast/rust-ast-full-decls.h
gcc/rust/hir/tree/rust-hir-full-decls.h

index 85f7373678a0c9617589a33492e8874a0001b491..80d217e0c528ade85780fb27fc2e562b4ddaaa6f 100644 (file)
@@ -148,7 +148,7 @@ class AsyncBlockExpr;
 enum class InlineAsmOption;
 struct AnonConst;
 struct InlineAsmRegOrRegClass;
-struct InlineAsmOperand;
+class InlineAsmOperand;
 struct InlineAsmPlaceHolder;
 struct InlineAsmTemplatePiece;
 struct TupleClobber;
index efe7c450fd262c305f800c721e2f496ecce925de..64be7bf93d1ff89fc09917fa57a1c59dce382ccf 100644 (file)
@@ -125,7 +125,8 @@ class AwaitExpr;
 class AsyncBlockExpr;
 class InlineAsmReg;
 class InlineAsmRegClass;
-struct InlineAsmRegOrRegClass;
+struct AnonConst;
+class InlineAsmOperand;
 class InlineAsm;
 
 // rust-stmt.h