summaryrefslogtreecommitdiff
path: root/lib/CodeGen/GCMetadata.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2014-03-07 09:26:03 +0000
committerCraig Topper <craig.topper@gmail.com>2014-03-07 09:26:03 +0000
commit9f998de8918c1dd5a8b8ec564af00107859898e0 (patch)
tree236ce73d227b8a00770e5e6d5516f5d551be8d80 /lib/CodeGen/GCMetadata.cpp
parent177c1ef30d6f789e7e780651dae5cc0929d73066 (diff)
[C++11] Add 'override' keyword to virtual methods that override their base class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203220 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/GCMetadata.cpp')
-rw-r--r--lib/CodeGen/GCMetadata.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/CodeGen/GCMetadata.cpp b/lib/CodeGen/GCMetadata.cpp
index ef5247c2edf..54b047bd769 100644
--- a/lib/CodeGen/GCMetadata.cpp
+++ b/lib/CodeGen/GCMetadata.cpp
@@ -32,12 +32,12 @@ namespace {
public:
explicit Printer(raw_ostream &OS) : FunctionPass(ID), OS(OS) {}
-
- const char *getPassName() const;
- void getAnalysisUsage(AnalysisUsage &AU) const;
-
- bool runOnFunction(Function &F);
- bool doFinalization(Module &M);
+
+ const char *getPassName() const override;
+ void getAnalysisUsage(AnalysisUsage &AU) const override;
+
+ bool runOnFunction(Function &F) override;
+ bool doFinalization(Module &M) override;
};
}