[polly] 5d31d09 - [polly][NFC] Add missing 'override's
Logan Smith via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 16 20:12:34 PDT 2020
Author: Logan Smith
Date: 2020-07-16T20:12:13-07:00
New Revision: 5d31d09f768a491681f36bba8b588f205d964b0f
URL: https://github.com/llvm/llvm-project/commit/5d31d09f768a491681f36bba8b588f205d964b0f
DIFF: https://github.com/llvm/llvm-project/commit/5d31d09f768a491681f36bba8b588f205d964b0f.diff
LOG: [polly][NFC] Add missing 'override's
Added:
Modified:
polly/lib/Transform/Canonicalization.cpp
polly/lib/Transform/CodePreparation.cpp
Removed:
################################################################################
diff --git a/polly/lib/Transform/Canonicalization.cpp b/polly/lib/Transform/Canonicalization.cpp
index 8945f1f6b863..3b19ecaff06d 100644
--- a/polly/lib/Transform/Canonicalization.cpp
+++ b/polly/lib/Transform/Canonicalization.cpp
@@ -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
diff --git a/polly/lib/Transform/CodePreparation.cpp b/polly/lib/Transform/CodePreparation.cpp
index 2d1571e85cfb..dfbf616ff96c 100644
--- a/polly/lib/Transform/CodePreparation.cpp
+++ b/polly/lib/Transform/CodePreparation.cpp
@@ -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
More information about the llvm-commits
mailing list