diff options
| author | Craig Topper <craig.topper@gmail.com> | 2014-03-05 07:52:44 +0000 |
|---|---|---|
| committer | Craig Topper <craig.topper@gmail.com> | 2014-03-05 07:52:44 +0000 |
| commit | 8548299aa8c3af313407cb42250e812f55b80b38 (patch) | |
| tree | ddb74170b8cb6bc4dcab07d721f181e552e83111 /llvm/lib/Bitcode/Reader/BitcodeReader.h | |
| parent | e9ba759c816ee74fe4c7a780a77726bc66c42899 (diff) | |
| download | llvm-8548299aa8c3af313407cb42250e812f55b80b38.zip llvm-8548299aa8c3af313407cb42250e812f55b80b38.tar.gz llvm-8548299aa8c3af313407cb42250e812f55b80b38.tar.bz2 | |
[C++11] Add 'override' keyword to virtual methods that override their base class.
llvm-svn: 202946
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.h')
| -rw-r--r-- | llvm/lib/Bitcode/Reader/BitcodeReader.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/lib/Bitcode/Reader/BitcodeReader.h b/llvm/lib/Bitcode/Reader/BitcodeReader.h index 56795e2..daa1634 100644 --- a/llvm/lib/Bitcode/Reader/BitcodeReader.h +++ b/llvm/lib/Bitcode/Reader/BitcodeReader.h @@ -247,11 +247,11 @@ public: /// when the reader is destroyed. void setBufferOwned(bool Owned) { BufferOwned = Owned; } - virtual bool isMaterializable(const GlobalValue *GV) const; - virtual bool isDematerializable(const GlobalValue *GV) const; - virtual error_code Materialize(GlobalValue *GV); - virtual error_code MaterializeModule(Module *M); - virtual void Dematerialize(GlobalValue *GV); + bool isMaterializable(const GlobalValue *GV) const override; + bool isDematerializable(const GlobalValue *GV) const override; + error_code Materialize(GlobalValue *GV) override; + error_code MaterializeModule(Module *M) override; + void Dematerialize(GlobalValue *GV) override; /// @brief Main interface to parsing a bitcode buffer. /// @returns true if an error occurred. |
