Skip to content

Commit

Permalink
[polly][NFC] Add missing 'override's
Browse files Browse the repository at this point in the history
  • Loading branch information
kepler-5 committed Jul 17, 2020
1 parent 947bf0f commit 5d31d09
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions polly/lib/Transform/Canonicalization.cpp
Expand Up @@ -65,10 +65,10 @@ class PollyCanonicalize : public ModulePass {

/// @name FunctionPass interface.
//@{
virtual void getAnalysisUsage(AnalysisUsage &AU) const;
virtual void releaseMemory();
virtual bool runOnModule(Module &M);
virtual void print(raw_ostream &OS, const Module *) const;
void getAnalysisUsage(AnalysisUsage &AU) const override;
void releaseMemory() override;
bool runOnModule(Module &M) override;
void print(raw_ostream &OS, const Module *) const override;
//@}
};
} // namespace
Expand Down
8 changes: 4 additions & 4 deletions polly/lib/Transform/CodePreparation.cpp
Expand Up @@ -48,10 +48,10 @@ class CodePreparation : public FunctionPass {

/// @name FunctionPass interface.
//@{
virtual void getAnalysisUsage(AnalysisUsage &AU) const;
virtual void releaseMemory();
virtual bool runOnFunction(Function &F);
virtual void print(raw_ostream &OS, const Module *) const;
void getAnalysisUsage(AnalysisUsage &AU) const override;
void releaseMemory() override;
bool runOnFunction(Function &F) override;
void print(raw_ostream &OS, const Module *) const override;
//@}
};
} // namespace
Expand Down

0 comments on commit 5d31d09

Please sign in to comment.