[AVR] Remove redundant void (NFC)
authorKazu Hirata <kazu@google.com>
Mon, 18 Jul 2022 01:08:50 +0000 (18:08 -0700)
committerKazu Hirata <kazu@google.com>
Mon, 18 Jul 2022 01:08:50 +0000 (18:08 -0700)
Identified with modernize-redundant-void-arg.

llvm/lib/Target/AVR/AVRSubtarget.h

index 2325193..3dd7124 100644 (file)
@@ -92,15 +92,15 @@ public:
   }
 
   /// Get I/O register addresses.
-  int getIORegRAMPZ(void) const { return hasELPM() ? 0x3b : -1; }
-  int getIORegEIND(void) const { return hasEIJMPCALL() ? 0x3c : -1; }
-  int getIORegSPL(void) const { return 0x3d; }
-  int getIORegSPH(void) const { return hasSmallStack() ? -1 : 0x3e; }
-  int getIORegSREG(void) const { return 0x3f; }
+  int getIORegRAMPZ() const { return hasELPM() ? 0x3b : -1; }
+  int getIORegEIND() const { return hasEIJMPCALL() ? 0x3c : -1; }
+  int getIORegSPL() const { return 0x3d; }
+  int getIORegSPH() const { return hasSmallStack() ? -1 : 0x3e; }
+  int getIORegSREG() const { return 0x3f; }
 
   /// Get GPR aliases.
-  int getRegTmpIndex(void) const { return hasTinyEncoding() ? 16 : 0; }
-  int getRegZeroIndex(void) const { return hasTinyEncoding() ? 17 : 1; }
+  int getRegTmpIndex() const { return hasTinyEncoding() ? 16 : 0; }
+  int getRegZeroIndex() const { return hasTinyEncoding() ? 17 : 1; }
 
 private:
   /// The ELF e_flags architecture.