[NFC] Remove unneeded semicolon after function definition
authorJim Lin <jim@andestech.com>
Tue, 6 Jun 2023 02:24:18 +0000 (10:24 +0800)
committerJim Lin <jim@andestech.com>
Wed, 7 Jun 2023 01:29:49 +0000 (09:29 +0800)
clang/lib/Tooling/Transformer/Stencil.cpp
lldb/source/Plugins/Architecture/AArch64/ArchitectureAArch64.h
llvm/include/llvm/CodeGen/GlobalISel/GISelKnownBits.h
llvm/include/llvm/Object/GOFFObjectFile.h
llvm/lib/Target/CSKY/CSKYAsmPrinter.h
llvm/lib/Target/SPIRV/MCTargetDesc/SPIRVTargetStreamer.h
llvm/lib/Target/X86/MCTargetDesc/X86MCExpr.h
llvm/unittests/Transforms/Vectorize/VPlanTest.cpp

index 2198aef..f2c1b6f 100644 (file)
@@ -327,7 +327,7 @@ public:
     assert(containsNoNullStencils(CaseStencils) &&
            "cases of selectBound may not be null");
   }
-  ~SelectBoundStencil() override{};
+  ~SelectBoundStencil() override {}
 
   llvm::Error eval(const MatchFinder::MatchResult &match,
                    std::string *result) const override {
index e1b8558..da0b867 100644 (file)
@@ -22,7 +22,7 @@ public:
 
   llvm::StringRef GetPluginName() override { return GetPluginNameStatic(); }
 
-  void OverrideStopInfo(Thread &thread) const override{};
+  void OverrideStopInfo(Thread &thread) const override {}
 
   const MemoryTagManager *GetMemoryTagManager() const override {
     return &m_memory_tag_manager;
index 035c5a0..eff87c5 100644 (file)
@@ -93,10 +93,10 @@ public:
   Align computeKnownAlignment(Register R, unsigned Depth = 0);
 
   // Observer API. No-op for non-caching implementation.
-  void erasingInstr(MachineInstr &MI) override{};
-  void createdInstr(MachineInstr &MI) override{};
-  void changingInstr(MachineInstr &MI) override{};
-  void changedInstr(MachineInstr &MI) override{};
+  void erasingInstr(MachineInstr &MI) override {}
+  void createdInstr(MachineInstr &MI) override {}
+  void changingInstr(MachineInstr &MI) override {}
+  void changedInstr(MachineInstr &MI) override {}
 
 protected:
   unsigned getMaxDepth() const { return MaxDepth; }
index 37b6b1e..c39a9de 100644 (file)
@@ -82,7 +82,7 @@ private:
   bool isSymbolIndirect(DataRefImpl Symb) const;
 
   // SectionRef.
-  void moveSectionNext(DataRefImpl &Sec) const override{};
+  void moveSectionNext(DataRefImpl &Sec) const override {}
   virtual Expected<StringRef> getSectionName(DataRefImpl Sec) const override {
     return StringRef();
   }
@@ -112,7 +112,7 @@ private:
   const uint8_t *getSectionPrEsdRecord(uint32_t SectionIndex) const;
 
   // RelocationRef.
-  void moveRelocationNext(DataRefImpl &Rel) const override{};
+  void moveRelocationNext(DataRefImpl &Rel) const override {}
   uint64_t getRelocationOffset(DataRefImpl Rel) const override { return 0; }
   symbol_iterator getRelocationSymbol(DataRefImpl Rel) const override {
     DataRefImpl Temp;
@@ -120,7 +120,7 @@ private:
   }
   uint64_t getRelocationType(DataRefImpl Rel) const override { return 0; }
   void getRelocationTypeName(DataRefImpl Rel,
-                             SmallVectorImpl<char> &Result) const override{};
+                             SmallVectorImpl<char> &Result) const override {}
 };
 
 } // namespace object
index 5e87594..3791895 100644 (file)
@@ -57,7 +57,7 @@ public:
   bool runOnMachineFunction(MachineFunction &MF) override;
 
   // we emit constant pools customly!
-  void emitConstantPool() override{};
+  void emitConstantPool() override {}
 
   bool PrintAsmOperand(const MachineInstr *MI, unsigned OpNo,
                        const char *ExtraCode, raw_ostream &OS) override;
index 2cc8f50..8429586 100644 (file)
@@ -21,7 +21,7 @@ public:
   ~SPIRVTargetStreamer() override;
 
   void changeSection(const MCSection *CurSection, MCSection *Section,
-                     const MCExpr *SubSection, raw_ostream &OS) override{};
+                     const MCExpr *SubSection, raw_ostream &OS) override {}
 };
 } // namespace llvm
 
index cd2baeb..db91d38 100644 (file)
@@ -64,7 +64,7 @@ public:
       return getRegNo() == E->getRegNo();
     return false;
   }
-  void visitUsedExpr(MCStreamer &Streamer) const override{};
+  void visitUsedExpr(MCStreamer &Streamer) const override {}
   MCFragment *findAssociatedFragment() const override { return nullptr; }
 
   // There are no TLS X86MCExprs at the moment.
index 2d0a584..b02de34 100644 (file)
@@ -1299,7 +1299,7 @@ struct VPDoubleValueDef : public VPRecipeBase {
     new VPValue(nullptr, this);
   }
 
-  void execute(struct VPTransformState &State) override{};
+  void execute(struct VPTransformState &State) override {}
 #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
   void print(raw_ostream &O, const Twine &Indent,
              VPSlotTracker &SlotTracker) const override {}