From 1dc8038dad585dd1b59c18f158441a6066e17375 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sun, 17 Jul 2022 18:08:50 -0700 Subject: [PATCH] [AVR] Remove redundant void (NFC) Identified with modernize-redundant-void-arg. --- llvm/lib/Target/AVR/AVRSubtarget.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/llvm/lib/Target/AVR/AVRSubtarget.h b/llvm/lib/Target/AVR/AVRSubtarget.h index 2325193..3dd7124 100644 --- a/llvm/lib/Target/AVR/AVRSubtarget.h +++ b/llvm/lib/Target/AVR/AVRSubtarget.h @@ -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. -- 2.7.4