diff options
author | badumbatish <tanghocle456@gmail.com> | 2024-08-19 16:39:11 -0700 |
---|---|---|
committer | CohenArthur <arthur.cohen@embecosm.com> | 2024-08-21 15:03:09 +0000 |
commit | 51948d296cda2828e6537db4a2fccad39b1281b7 (patch) | |
tree | d5ca8152ce1ca45ea1edfd5795c29ea8225116a8 | |
parent | d44051dea3036534b672684d22c7adf4f0684f9f (diff) | |
download | gcc-51948d296cda2828e6537db4a2fccad39b1281b7.zip gcc-51948d296cda2828e6537db4a2fccad39b1281b7.tar.gz gcc-51948d296cda2828e6537db4a2fccad39b1281b7.tar.bz2 |
Fix the disorder struct and class in inline asm
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
-rw-r--r-- | gcc/rust/ast/rust-ast-full-decls.h | 2 | ||||
-rw-r--r-- | gcc/rust/hir/tree/rust-hir-full-decls.h | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/gcc/rust/ast/rust-ast-full-decls.h b/gcc/rust/ast/rust-ast-full-decls.h index becda41..fffeb1b 100644 --- a/gcc/rust/ast/rust-ast-full-decls.h +++ b/gcc/rust/ast/rust-ast-full-decls.h @@ -148,7 +148,7 @@ class AsyncBlockExpr; enum class InlineAsmOption; struct AnonConst; struct InlineAsmRegOrRegClass; -struct InlineAsmOperand; +class InlineAsmOperand; struct InlineAsmPlaceHolder; struct InlineAsmTemplatePiece; struct TupleClobber; diff --git a/gcc/rust/hir/tree/rust-hir-full-decls.h b/gcc/rust/hir/tree/rust-hir-full-decls.h index d01535e..7cc0318 100644 --- a/gcc/rust/hir/tree/rust-hir-full-decls.h +++ b/gcc/rust/hir/tree/rust-hir-full-decls.h @@ -125,7 +125,8 @@ class AwaitExpr; class AsyncBlockExpr; class InlineAsmReg; class InlineAsmRegClass; -struct InlineAsmRegOrRegClass; +struct AnonConst; +class InlineAsmOperand; class InlineAsm; // rust-stmt.h |