Skip to content

Commit

Permalink
Fix the disorder struct and class in inline asm
Browse files Browse the repository at this point in the history
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
  • Loading branch information
badumbatish authored and CohenArthur committed Aug 21, 2024
1 parent d44051d commit 51948d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gcc/rust/ast/rust-ast-full-decls.h
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ class AsyncBlockExpr;
enum class InlineAsmOption;
struct AnonConst;
struct InlineAsmRegOrRegClass;
struct InlineAsmOperand;
class InlineAsmOperand;
struct InlineAsmPlaceHolder;
struct InlineAsmTemplatePiece;
struct TupleClobber;
Expand Down
3 changes: 2 additions & 1 deletion gcc/rust/hir/tree/rust-hir-full-decls.h
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,8 @@ class AwaitExpr;
class AsyncBlockExpr;
class InlineAsmReg;
class InlineAsmRegClass;
struct InlineAsmRegOrRegClass;
struct AnonConst;
class InlineAsmOperand;
class InlineAsm;

// rust-stmt.h
Expand Down

0 comments on commit 51948d2

Please sign in to comment.