diff options
author | Craig Topper <craig.topper@gmail.com> | 2014-03-05 09:10:37 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2014-03-05 09:10:37 +0000 |
commit | 7b62be28cbc6cce31852831570a87d9699fbcecd (patch) | |
tree | 4dd55a38166ef21dfb539bcc5ddf9e53942bf9bf /lib/Transforms/Instrumentation/DebugIR.cpp | |
parent | b6193185a0f326a2b74e50b73972c72b2438dfce (diff) | |
download | llvm-7b62be28cbc6cce31852831570a87d9699fbcecd.tar.gz llvm-7b62be28cbc6cce31852831570a87d9699fbcecd.tar.bz2 llvm-7b62be28cbc6cce31852831570a87d9699fbcecd.tar.xz |
[C++11] Add 'override' keyword to virtual methods that override their base class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202953 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Instrumentation/DebugIR.cpp')
-rw-r--r-- | lib/Transforms/Instrumentation/DebugIR.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Transforms/Instrumentation/DebugIR.cpp b/lib/Transforms/Instrumentation/DebugIR.cpp index 519894c283..abea83505f 100644 --- a/lib/Transforms/Instrumentation/DebugIR.cpp +++ b/lib/Transforms/Instrumentation/DebugIR.cpp @@ -67,11 +67,12 @@ public: // This function is called after an Instruction, GlobalValue, or GlobalAlias // is printed. - void printInfoComment(const Value &V, formatted_raw_ostream &Out) { + void printInfoComment(const Value &V, formatted_raw_ostream &Out) override { addEntry(&V, Out); } - void emitFunctionAnnot(const Function *F, formatted_raw_ostream &Out) { + void emitFunctionAnnot(const Function *F, + formatted_raw_ostream &Out) override { addEntry(F, Out); } |