[Polly] Add override qualifiers.

Silence compiler warnings that suggest to add override qualifiers.
This commit is contained in:
Michael Kruse 2020-11-16 21:26:37 -06:00
parent f4467c4d3b
commit 33ca0b0ea6
2 changed files with 4 additions and 4 deletions

View File

@ -354,7 +354,7 @@ public:
GPURuntime Runtime;
ManagedMemoryRewritePass() : ModulePass(ID) {}
virtual bool runOnModule(Module &M) {
bool runOnModule(Module &M) override {
const DataLayout &DL = M.getDataLayout();
Function *Malloc = M.getFunction("malloc");

View File

@ -337,7 +337,7 @@ public:
void initializeAfterRTH();
/// Finalize the generated scop.
virtual void finalize();
void finalize() override;
/// Track if the full build process was successful.
///
@ -408,9 +408,9 @@ private:
/// - In-kernel memory copy statement
///
/// @param UserStmt The ast node to generate code for.
virtual void createUser(__isl_take isl_ast_node *UserStmt);
void createUser(__isl_take isl_ast_node *UserStmt) override;
virtual void createFor(__isl_take isl_ast_node *Node);
void createFor(__isl_take isl_ast_node *Node) override;
enum DataDirection { HOST_TO_DEVICE, DEVICE_TO_HOST };