[llvm] fc0102e - [RISCV] Remove unnecessary struct keyword. NFC

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 26 14:58:41 PDT 2025


Author: Craig Topper
Date: 2025-03-26T14:58:26-07:00
New Revision: fc0102ec043c449ade32805dcd3e70045322934d

URL: https://github.com/llvm/llvm-project/commit/fc0102ec043c449ade32805dcd3e70045322934d
DIFF: https://github.com/llvm/llvm-project/commit/fc0102ec043c449ade32805dcd3e70045322934d.diff

LOG: [RISCV] Remove unnecessary struct keyword. NFC

Added: 
    

Modified: 
    llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp b/llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
index b43e323834044..ef260abb3faa7 100644
--- a/llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
+++ b/llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
@@ -398,13 +398,13 @@ struct RISCVOperand final : public MCParsedAsmOperand {
     RegOp Reg;
     ImmOp Imm;
     FPImmOp FPImm;
-    struct SysRegOp SysReg;
-    struct VTypeOp VType;
-    struct FRMOp FRM;
-    struct FenceOp Fence;
-    struct RlistOp Rlist;
-    struct SpimmOp Spimm;
-    struct RegRegOp RegReg;
+    SysRegOp SysReg;
+    VTypeOp VType;
+    FRMOp FRM;
+    FenceOp Fence;
+    RlistOp Rlist;
+    SpimmOp Spimm;
+    RegRegOp RegReg;
   };
 
   RISCVOperand(KindTy K) : Kind(K) {}


        


More information about the llvm-commits mailing list