]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix the disorder struct and class in inline asm
authorbadumbatish <tanghocle456@gmail.com>
Mon, 19 Aug 2024 23:39:11 +0000 (16:39 -0700)
committerCohenArthur <arthur.cohen@embecosm.com>
Wed, 21 Aug 2024 15:03:09 +0000 (15:03 +0000)
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 becda4176c8f7eac7752ad096123901b01688dd8..fffeb1b346604ec2868afe7d2b20c8b42a0f2635 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 d01535e75d356ac049f6e12b00cc752ad21eaf7e..7cc031870eba1660f2ba5de6d12bb7f1584e3c57 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