summaryrefslogtreecommitdiff
path: root/polly/lib/CodeGen/PPCGCodeGeneration.cpp
diff options
context:
space:
mode:
authorMichael Kruse <llvm-project@meinersbur.de>2020-11-16 21:26:37 -0600
committerMichael Kruse <llvm-project@meinersbur.de>2020-11-16 21:29:37 -0600
commit33ca0b0ea619078440b676d136cfda35dfa02e01 (patch)
treebd721d03ffcc0e998505dd1879a9be527888614a /polly/lib/CodeGen/PPCGCodeGeneration.cpp
parentf4467c4d3b6c65d2a0d799badb1edf233e829162 (diff)
[Polly] Add override qualifiers.
Silence compiler warnings that suggest to add override qualifiers.
Diffstat (limited to 'polly/lib/CodeGen/PPCGCodeGeneration.cpp')
-rw-r--r--polly/lib/CodeGen/PPCGCodeGeneration.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/polly/lib/CodeGen/PPCGCodeGeneration.cpp b/polly/lib/CodeGen/PPCGCodeGeneration.cpp
index bd92c7e705c9..0b959002cee1 100644
--- a/polly/lib/CodeGen/PPCGCodeGeneration.cpp
+++ b/polly/lib/CodeGen/PPCGCodeGeneration.cpp
@@ -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 };