mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
[C++11] Add 'override' keyword to IR library.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202939 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -176,17 +176,17 @@ public:
|
||||
DominatorTree &getDomTree() { return DT; }
|
||||
const DominatorTree &getDomTree() const { return DT; }
|
||||
|
||||
virtual bool runOnFunction(Function &F);
|
||||
bool runOnFunction(Function &F) override;
|
||||
|
||||
virtual void verifyAnalysis() const;
|
||||
void verifyAnalysis() const override;
|
||||
|
||||
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
|
||||
void getAnalysisUsage(AnalysisUsage &AU) const override {
|
||||
AU.setPreservesAll();
|
||||
}
|
||||
|
||||
virtual void releaseMemory() { DT.releaseMemory(); }
|
||||
void releaseMemory() override { DT.releaseMemory(); }
|
||||
|
||||
virtual void print(raw_ostream &OS, const Module *M = 0) const;
|
||||
void print(raw_ostream &OS, const Module *M = 0) const override;
|
||||
};
|
||||
|
||||
} // End llvm namespace
|
||||
|
Reference in New Issue
Block a user