mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-25 21:11:25 +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) &&
|
assert(containsNoNullStencils(CaseStencils) &&
|
||||||
"cases of selectBound may not be null");
|
"cases of selectBound may not be null");
|
||||||
}
|
}
|
||||||
~SelectBoundStencil() override{};
|
~SelectBoundStencil() override {}
|
||||||
|
|
||||||
llvm::Error eval(const MatchFinder::MatchResult &match,
|
llvm::Error eval(const MatchFinder::MatchResult &match,
|
||||||
std::string *result) const override {
|
std::string *result) const override {
|
||||||
|
@ -22,7 +22,7 @@ public:
|
|||||||
|
|
||||||
llvm::StringRef GetPluginName() override { return GetPluginNameStatic(); }
|
llvm::StringRef GetPluginName() override { return GetPluginNameStatic(); }
|
||||||
|
|
||||||
void OverrideStopInfo(Thread &thread) const override{};
|
void OverrideStopInfo(Thread &thread) const override {}
|
||||||
|
|
||||||
const MemoryTagManager *GetMemoryTagManager() const override {
|
const MemoryTagManager *GetMemoryTagManager() const override {
|
||||||
return &m_memory_tag_manager;
|
return &m_memory_tag_manager;
|
||||||
|
@ -93,10 +93,10 @@ public:
|
|||||||
Align computeKnownAlignment(Register R, unsigned Depth = 0);
|
Align computeKnownAlignment(Register R, unsigned Depth = 0);
|
||||||
|
|
||||||
// Observer API. No-op for non-caching implementation.
|
// Observer API. No-op for non-caching implementation.
|
||||||
void erasingInstr(MachineInstr &MI) override{};
|
void erasingInstr(MachineInstr &MI) override {}
|
||||||
void createdInstr(MachineInstr &MI) override{};
|
void createdInstr(MachineInstr &MI) override {}
|
||||||
void changingInstr(MachineInstr &MI) override{};
|
void changingInstr(MachineInstr &MI) override {}
|
||||||
void changedInstr(MachineInstr &MI) override{};
|
void changedInstr(MachineInstr &MI) override {}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
unsigned getMaxDepth() const { return MaxDepth; }
|
unsigned getMaxDepth() const { return MaxDepth; }
|
||||||
|
@ -82,7 +82,7 @@ private:
|
|||||||
bool isSymbolIndirect(DataRefImpl Symb) const;
|
bool isSymbolIndirect(DataRefImpl Symb) const;
|
||||||
|
|
||||||
// SectionRef.
|
// SectionRef.
|
||||||
void moveSectionNext(DataRefImpl &Sec) const override{};
|
void moveSectionNext(DataRefImpl &Sec) const override {}
|
||||||
virtual Expected<StringRef> getSectionName(DataRefImpl Sec) const override {
|
virtual Expected<StringRef> getSectionName(DataRefImpl Sec) const override {
|
||||||
return StringRef();
|
return StringRef();
|
||||||
}
|
}
|
||||||
@ -112,7 +112,7 @@ private:
|
|||||||
const uint8_t *getSectionPrEsdRecord(uint32_t SectionIndex) const;
|
const uint8_t *getSectionPrEsdRecord(uint32_t SectionIndex) const;
|
||||||
|
|
||||||
// RelocationRef.
|
// RelocationRef.
|
||||||
void moveRelocationNext(DataRefImpl &Rel) const override{};
|
void moveRelocationNext(DataRefImpl &Rel) const override {}
|
||||||
uint64_t getRelocationOffset(DataRefImpl Rel) const override { return 0; }
|
uint64_t getRelocationOffset(DataRefImpl Rel) const override { return 0; }
|
||||||
symbol_iterator getRelocationSymbol(DataRefImpl Rel) const override {
|
symbol_iterator getRelocationSymbol(DataRefImpl Rel) const override {
|
||||||
DataRefImpl Temp;
|
DataRefImpl Temp;
|
||||||
@ -120,7 +120,7 @@ private:
|
|||||||
}
|
}
|
||||||
uint64_t getRelocationType(DataRefImpl Rel) const override { return 0; }
|
uint64_t getRelocationType(DataRefImpl Rel) const override { return 0; }
|
||||||
void getRelocationTypeName(DataRefImpl Rel,
|
void getRelocationTypeName(DataRefImpl Rel,
|
||||||
SmallVectorImpl<char> &Result) const override{};
|
SmallVectorImpl<char> &Result) const override {}
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace object
|
} // namespace object
|
||||||
|
@ -57,7 +57,7 @@ public:
|
|||||||
bool runOnMachineFunction(MachineFunction &MF) override;
|
bool runOnMachineFunction(MachineFunction &MF) override;
|
||||||
|
|
||||||
// we emit constant pools customly!
|
// we emit constant pools customly!
|
||||||
void emitConstantPool() override{};
|
void emitConstantPool() override {}
|
||||||
|
|
||||||
bool PrintAsmOperand(const MachineInstr *MI, unsigned OpNo,
|
bool PrintAsmOperand(const MachineInstr *MI, unsigned OpNo,
|
||||||
const char *ExtraCode, raw_ostream &OS) override;
|
const char *ExtraCode, raw_ostream &OS) override;
|
||||||
|
@ -21,7 +21,7 @@ public:
|
|||||||
~SPIRVTargetStreamer() override;
|
~SPIRVTargetStreamer() override;
|
||||||
|
|
||||||
void changeSection(const MCSection *CurSection, MCSection *Section,
|
void changeSection(const MCSection *CurSection, MCSection *Section,
|
||||||
const MCExpr *SubSection, raw_ostream &OS) override{};
|
const MCExpr *SubSection, raw_ostream &OS) override {}
|
||||||
};
|
};
|
||||||
} // namespace llvm
|
} // namespace llvm
|
||||||
|
|
||||||
|
@ -64,7 +64,7 @@ public:
|
|||||||
return getRegNo() == E->getRegNo();
|
return getRegNo() == E->getRegNo();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
void visitUsedExpr(MCStreamer &Streamer) const override{};
|
void visitUsedExpr(MCStreamer &Streamer) const override {}
|
||||||
MCFragment *findAssociatedFragment() const override { return nullptr; }
|
MCFragment *findAssociatedFragment() const override { return nullptr; }
|
||||||
|
|
||||||
// There are no TLS X86MCExprs at the moment.
|
// There are no TLS X86MCExprs at the moment.
|
||||||
|
@ -1299,7 +1299,7 @@ struct VPDoubleValueDef : public VPRecipeBase {
|
|||||||
new VPValue(nullptr, this);
|
new VPValue(nullptr, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
void execute(struct VPTransformState &State) override{};
|
void execute(struct VPTransformState &State) override {}
|
||||||
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
|
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
|
||||||
void print(raw_ostream &O, const Twine &Indent,
|
void print(raw_ostream &O, const Twine &Indent,
|
||||||
VPSlotTracker &SlotTracker) const override {}
|
VPSlotTracker &SlotTracker) const override {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user