forked from OSchip/llvm-project
[Polly] Add override qualifiers.
Silence compiler warnings that suggest to add override qualifiers.
This commit is contained in:
parent
f4467c4d3b
commit
33ca0b0ea6
|
@ -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");
|
||||
|
|
|
@ -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 };
|
||||
|
||||
|
|
Loading…
Reference in New Issue