aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/IPO/ConstantMerge.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2014-03-05 09:10:37 +0000
committerCraig Topper <craig.topper@gmail.com>2014-03-05 09:10:37 +0000
commit3e4c697ca1314da24ac34e42293cc28d88fdc134 (patch)
tree7a935b36554394c06777483ad27cf41e23360ead /llvm/lib/Transforms/IPO/ConstantMerge.cpp
parent6a927ecb7a98e2c9a25b724f96f153749ca475dd (diff)
downloadllvm-3e4c697ca1314da24ac34e42293cc28d88fdc134.zip
llvm-3e4c697ca1314da24ac34e42293cc28d88fdc134.tar.gz
llvm-3e4c697ca1314da24ac34e42293cc28d88fdc134.tar.bz2
[C++11] Add 'override' keyword to virtual methods that override their base class.
llvm-svn: 202953
Diffstat (limited to 'llvm/lib/Transforms/IPO/ConstantMerge.cpp')
-rw-r--r--llvm/lib/Transforms/IPO/ConstantMerge.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/IPO/ConstantMerge.cpp b/llvm/lib/Transforms/IPO/ConstantMerge.cpp
index 6a32db9..5c3acea 100644
--- a/llvm/lib/Transforms/IPO/ConstantMerge.cpp
+++ b/llvm/lib/Transforms/IPO/ConstantMerge.cpp
@@ -42,7 +42,7 @@ namespace {
// For this pass, process all of the globals in the module, eliminating
// duplicate constants.
- bool runOnModule(Module &M);
+ bool runOnModule(Module &M) override;
// Return true iff we can determine the alignment of this global variable.
bool hasKnownAlignment(GlobalVariable *GV) const;