[llvm] 14e2910 - [RISCV] Remove extraneous semicolons. NFC

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 10 07:18:34 PST 2024


Author: Luke Lau
Date: 2024-01-10T22:12:58+07:00
New Revision: 14e291000f96c20e35ef494bd407f459b4617fca

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

LOG: [RISCV] Remove extraneous semicolons. NFC

Added: 
    

Modified: 
    llvm/include/llvm/Support/RISCVISAInfo.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/Support/RISCVISAInfo.h b/llvm/include/llvm/Support/RISCVISAInfo.h
index c539448683d368..97f1051b0540a7 100644
--- a/llvm/include/llvm/Support/RISCVISAInfo.h
+++ b/llvm/include/llvm/Support/RISCVISAInfo.h
@@ -71,10 +71,10 @@ class RISCVISAInfo {
   std::vector<std::string> toFeatures(bool AddAllExtensions = false,
                                       bool IgnoreUnknown = true) const;
 
-  const OrderedExtensionMap &getExtensions() const { return Exts; };
+  const OrderedExtensionMap &getExtensions() const { return Exts; }
 
-  unsigned getXLen() const { return XLen; };
-  unsigned getFLen() const { return FLen; };
+  unsigned getXLen() const { return XLen; }
+  unsigned getFLen() const { return FLen; }
   unsigned getMinVLen() const { return MinVLen; }
   unsigned getMaxVLen() const { return 65536; }
   unsigned getMaxELen() const { return MaxELen; }


        


More information about the llvm-commits mailing list