mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-27 15:41:46 +00:00
[NFC] Remove unneeded semicolon after function definition
This commit is contained in:
parent
8c649231f4
commit
d4c5b45293
@ -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 {
|
||||
|
@ -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;
|
||||
|
@ -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; }
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
|
||||
|
@ -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.
|
||||
|
@ -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 {}
|
||||
|
Loading…
Reference in New Issue
Block a user